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

Вниз

запуск программы с обработкой кодов возврата   Найти похожие ветки 

 
Stany ©   (2004-10-10 16:12) [0]

подкиньте код с реализацией сабжа


 
GuAV ©   (2004-10-10 16:39) [1]

CreateProcess
Wait Functions
GetExitCodeProcess


 
tesseract   (2004-10-11 09:50) [2]

Код возврата чего? Функции? потока? процесса?


 
Unknown Mystic ©   (2004-10-11 12:08) [3]

http://delphimaster.net/view/4-1093953932/

Unknown Mystic ©   (20.09.04 13:19) [15] и дальше


 
Cobalt ©   (2004-10-11 22:19) [4]

ExitCode variable

Contains the application"s exit code.

Unit

System

Category

backward compatibility routines

Delphi syntax:

var ExitCode: Integer = 0;

Description

In Delphi code, the ExitCode variable contains the application"s exit code.  An exit procedure can learn the cause of termination by examining ExitCode. If the program terminates normally, ExitCode is zero. If the program terminates due to a call to Halt, ExitCode contains the value passed to Halt. If the program terminates due to a runtime error, ExitCode contains the error code.

On Windows, setting the ExitCode variable to a value other than 0 in the initialization section of a unit will make loading of a DLL fail (DllMain will return false). You can also set ExitCode in code called from DllProc or DllProcEx to signal failure of loading.



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

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

Наверх




Память: 0.47 MB
Время: 0.055 c
1-1099513719
Adnrey
2004-11-03 23:28
2004.11.21
Какой компонент нужно использовать?


3-1098438800
*Pavel
2004-10-22 13:53
2004.11.21
Какой из MSSQL серверов выбрать ?


4-1097348954
Sphinx
2004-10-09 23:09
2004.11.21
Таймер


11-1082741850
Max003
2004-04-23 21:37
2004.11.21
Почему MCK проекты не работают под Windows98 !!!


1-1099660532
Anton123
2004-11-05 16:15
2004.11.21
Имя компьютера