Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "WinAPI";
Текущий архив: 2004.11.21;
Скачать: [xml.tar.bz2];

Вниз

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

 
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 вся ветка

Форум: "WinAPI";
Текущий архив: 2004.11.21;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.46 MB
Время: 0.037 c
1-1097938146
Nurik
2004-10-16 18:49
2004.11.21
Слово Funсtion зарезервировано в дельфи. Как быть?


6-1094827738
redlord
2004-09-10 18:48
2004.11.21
перевод IP адреса в десятичную систему


1-1099862330
Metrolog
2004-11-08 00:18
2004.11.21
Распознавание выражений


1-1099843076
InfMag
2004-11-07 18:57
2004.11.21
Запор с INI файлами


14-1098957474
kaif
2004-10-28 13:57
2004.11.21
За свободу !





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский