Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.008 c
1-43049
Murad
2002-02-26 18:33
2002.03.14
OpenGL


3-42959
harismatik
2002-02-14 13:54
2002.03.14
Поле для времени


1-43043
SuperIgor
2002-02-22 22:30
2002.03.14
Помогите хто сможет!!!


14-43156
Hecker
2002-01-18 18:22
2002.03.14
Нужна помощь! (это очень серьёзно!)


1-43051
DJ X
2002-02-26 05:02
2002.03.14
Cобытие активации деактивации




   Наверх