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

Вниз

Как завершить процесс (через Delphi)   Найти похожие ветки 

 
davile   (2002-01-15 17:33) [0]



 
Севостьянов Игорь ©   (2002-01-15 19:36) [1]

Если я правильно понял вопрос, то только с помощью WinAPI

BOOL TerminateProcess(

HANDLE hProcess, // handle to the process
UINT uExitCode // exit code for the process
);

Parameters

hProcess

Identifies the process to terminate.
Windows NT: The handle must have PROCESS_TERMINATE access. For more information, see Process Objects.

uExitCode

Specifies the exit code for the process and for all threads terminated as a result of this call. Use the GetExitCodeProcess function to retrieve the process"s exit value. Use the GetExitCodeThread function to retrieve a thread"s exit value.

See Also

CreateProcess, CreateRemoteThread, CreateThread, ExitThread, GetExitCodeProcess, GetExitCodeThread, OpenProcess, TerminateProcess


 
Almaz ©   (2002-01-16 00:18) [2]

>Севостьянов Игорь
Не только. Можно еще использовать недокументированную, но более мощную функцию EndTask.

Удачи.


 
Tosov ©   (2002-01-16 00:48) [3]

Для Windows NT/2000/XP
http://delphi.xonix.ru/faq/system/terminate01.shtml



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

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

Наверх




Память: 0.47 MB
Время: 0.011 c
1-43069
Light Elf
2002-02-27 10:22
2002.03.14
wsMaximized


1-43106
Michael C
2002-02-28 10:45
2002.03.14
Народ, как сравнить текущий выбираемый элемент массива


14-43149
kay
2002-01-30 08:40
2002.03.14
String


3-42967
Dad
2002-02-09 13:58
2002.03.14
Как отсортировать поле по убыванию


4-43216
otari
2002-01-11 21:27
2002.03.14
помогите !!! двучвопросних человеку