0 / 0 / 1
Регистрация: 03.11.2011
Сообщений: 42
|
|||||||||||||||||||||
1 | |||||||||||||||||||||
project1.dpr большое кол-во ошибок помогите04.11.2011, 07:38. Показов 8127. Ответов 10
Метки нет (Все метки)
потому что у меня вылезало [Error] Unit1.pas(28): Undeclared identifier: 'ShellExecute' [Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas' а сейчас вылезает: [Error] Project1.dpr(4): Declaration expected but identifier 'Forms' found [Warning] Project1.dpr(7): File not found: 'Project1.dpr.res' [Error] Project1.dpr(10): Undeclared identifier: 'Application' [Error] Project1.dpr(10): Missing operator or semicolon [Error] Project1.dpr(11): Missing operator or semicolon [Error] Project1.dpr(11): Undeclared identifier: 'TForm1' [Error] Project1.dpr(12): Missing operator or semicolon Что мне делать может код не правильно написан? Помогите разобраться... Добавлено через 1 час 36 минут вроде разобрался теперь нет ошибок,но действий не каких не происходит?
use shellapi; [Error] Project1.dpr(4): Declaration expected but identifier 'Forms' found [Error] Project1.dpr(10): Undeclared identifier: 'Application' [Error] Project1.dpr(10): Missing operator or semicolon [Error] Project1.dpr(11): Missing operator or semicolon [Error] Project1.dpr(11): Undeclared identifier: 'TForm1' [Error] Project1.dpr(12): Missing operator or semicolon Добавлено через 7 минут сейчас попробывал добавить shellapi в другую ячейку все ошибки исчезли...но нечего не происходит по прежнему!
0
|
04.11.2011, 07:38 | |
Ответы с готовыми решениями:
10
Ошибка: [dcc32 Error] Project1.dpr(467): E2010 Incompatible types: 'PD3DRect' and '_D3DRECT' Ошибка "[Fatal Error] Project1.dpr(14): File not found: 'RpCon.dcu'". Что делать? [dcc32 Fatal Error] Project1.dpr(15): F1026 File not found [Fatal Error] Project1.dpr(5): File not found: 'Forms.dcu' |
Заблокирован
|
|||||||||||
04.11.2011, 11:36 | 2 | ||||||||||
1
|
0 / 0 / 1
Регистрация: 03.11.2011
Сообщений: 42
|
||||||||||||||||
04.11.2011, 12:15 [ТС] | 3 | |||||||||||||||
[Error] Unit1.pas(6): Identifier redeclared: 'Classes' [Error] Unit1.pas(6): Identifier redeclared: 'Controls' [Error] Unit1.pas(7): Identifier redeclared: 'StdCtrls' [Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas' а когда жму run вот эта строка загарается красным.
Все понел удалил повторные прописи Classes, Controls, StdCtrls, теперь не выдаёт ошибку,но жму на кнопку не запускается игра кнопка вот
0
|
Заблокирован
|
|||||||||||
04.11.2011, 12:16 | 4 | ||||||||||
Замените
1
|
0 / 0 / 1
Регистрация: 03.11.2011
Сообщений: 42
|
||||||
04.11.2011, 12:22 [ТС] | 5 | |||||
Спасибо не могли бы помочь в кнопке не запускается?
прописал вроде норм.
0
|
0 / 0 / 1
Регистрация: 03.11.2011
Сообщений: 42
|
|
04.11.2011, 12:47 [ТС] | 7 |
Спасибо,но у меня есть вопрос вот смотрите я указал путь D:\что-то\кто-то.exe,но у других играков же будет по другому как мне сделать чтобы он сам искал этот путь,а то у все по разному размещен этот exe
можете сказать свой скайп так будет проще мне объяснить проблему(
0
|
Заблокирован
|
|
04.11.2011, 12:51 | 8 |
Все вопросы на форуме обсуждаются публично. См. правила. Вам надо сделать у себя возможность указать пользователю путь к программе, которую вы хотите запустить. Сделать это можно множеством способов:
1. При помощи диалога TOpenDialog 2. Ручками через ini файл, где пользователь укажет сам путь к файлу 3. Поиском на всех дисках во всех каталогах нужного Вам файла. Самый простой и понятный - №1.
0
|
0 / 0 / 1
Регистрация: 03.11.2011
Сообщений: 42
|
|
04.11.2011, 12:59 [ТС] | 9 |
А где первый пункт находится и как он прописывается?
Добавлено через 3 минуты Можете пока не выходить вы 1 человек который поможет=)
0
|
0 / 0 / 1
Регистрация: 03.11.2011
Сообщений: 42
|
||||||
04.11.2011, 13:41 [ТС] | 11 | |||||
И как сделать так чтобы накласть на кнопку картинку я ее сделал через button shop 3,но она не поверх кнопки я незнаю как подцепить ее к кнопке
0
|
04.11.2011, 13:41 | |