Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.08.14;
Скачать: CL | DM;

Вниз

winexec   Найти похожие ветки 

 
dddim   (2005-07-26 12:54) [0]

почему когда в api функции winexec вводишь вместо "c:\windows...exe"  %windir%\...exe% прога отказывается запускаться...
почему дельфя не понимает такое определение, и какие она понимает???


 
Fay ©   (2005-07-26 12:57) [1]

2 dddim   (26.07.05 12:54)

1)Note  This function is provided only for compatibility with 16-bit Windows. Applications should use the CreateProcess function.

2) Return Values
If the function succeeds, the return value is greater than 31.

If the function fails, the return value is one of the following error values:

Value Meaning
0 The system is out of memory or resources.
ERROR_BAD_FORMAT The .exe file is invalid.
ERROR_FILE_NOT_FOUND The specified file was not found.
ERROR_PATH_NOT_FOUND The specified path was not found.

3) Это реальные параметры?! Верится с трудом.


 
Aleksey V.P.   (2005-07-26 13:27) [2]

ShellExecute



Страницы: 1 вся ветка

Текущий архив: 2005.08.14;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.029 c
4-1118382253
QuS
2005-06-10 09:44
2005.08.14
WinExec или ShellExecute - как ?


1-1122276979
slotti
2005-07-25 11:36
2005.08.14
Как из OpenDialog (SaveDialog) получить имя(путь) к папке ?


1-1122460119
Vsr
2005-07-27 14:28
2005.08.14
Вызов функции из dll


1-1122368068
dddim
2005-07-26 12:54
2005.08.14
winexec


14-1122215801
Alex17
2005-07-24 18:36
2005.08.14
Сеть