![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
WinExec непонятно работает [D7, XP]
abhtr © (2008-01-25 12:42:00)Работает WinExec('uudecode.exe dekod.txt', SW_HIDE);
Не работает WinExec('c:\BONUS\uudecode.exe c:\BONUS\dekod.txt', SW_HIDE);
Не понятно. Поясните пожалуйста.
abhtr (2008-01-25 15:05:00) [1]
> Palladin
Спасибо. С этим разобрался. Работает.
palva (2008-01-25 13:23:00) [2]Еще варианты:
1. отсутствует файл dekod.txt
2. файл, куда надо положить результат уже существует и закрыт для записи.
Palladin (2008-01-25 12:44:00) [3]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 (non-Win32 .EXE or error in .EXE image).
ERROR_FILE_NOT_FOUND The specified file was not found.
ERROR_PATH_NOT_FOUND The specified path was not found.
вот теперь сам и анализируй почему не работает