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

Вниз

SW_HIDE   Найти похожие ветки 

 
dlf   (2003-03-04 15:22) [0]

Приветствую.
Может кто-нибудь поможет мне...
Запускаю процесс...

...
var
si:STARTUPINFO;
pi:PROCESS_INFORMATION;

...

if not CreateProcess( nil,
PChar("notepad"),//например notepad
nil,
nil,
false,
0,
nil,
nil,
si,
pi) then
begin
ShowMessage("Failed to create process!");
exit
end;


waitForSingleObject(pi.hProcess,INFINITE);

CloseHandle(pi.hProcess);
CloseHandle(pi.hThread);
____________________________
необходимо запустить его срытым.
Я пробовал si.wShowWindow:=SW_HIDE;
Но это не срабатывает:(
можт поможете, в чем тут дело?


 
Игорь Шевченко ©   (2003-03-04 16:10) [1]

StartupInfo.dwFlags

This is a bit field that determines whether certain STARTUPINFO members are used when the process creates a window. Any combination of the following values can be specified:

Value Meaning
STARTF_USESHOWWINDOW If this value is not specified, the wShowWindow member is ignored.

+ StartupInfo.cbSize


 
dlf   (2003-03-04 16:13) [2]

Спасибо!!!



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

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

Наверх




Память: 0.47 MB
Время: 0.02 c
3-407
Builder
2003-04-11 13:20
2003.05.01
Пустые строки в Access


3-431
gary5555
2003-04-12 15:25
2003.05.01
Как сделать неизменной нумерацию строк???


3-385
GreSt
2003-04-09 07:54
2003.05.01
Переход с IB на Oracle


14-684
Sergik
2003-04-16 10:42
2003.05.01
Книга


3-433
Filat
2003-04-10 20:31
2003.05.01
База Firebird - DBGrid?