Вниз
Скачать: CL | DM;

Мужики(и дамы тоже =ъ)! Извините за ламерский вопрос, но...   Найти похожие ветки 

← →
В.И.Чапаев ©   (2001-11-30 21:18) [0]

К А К ЗАПУСКАТЬ ПРОГРАММЫ(*.EXE) ИЗ ДЕЛЬФИ?


← →
Undert ©   (2001-11-30 23:45) [1]

В Экзамплах есть модуль FMXUtils: ExecuteFile(See help,...);
В Shell32.dcu: ShellExecute(PChar(See help),...);


← →
msa   (2001-12-01 12:46) [2]

По моему, лучше использовать CreateProcess...

BOOL CreateProcess(
LPCTSTR lpApplicationName, // pointer to name of executable module
LPTSTR lpCommandLine, // pointer to command line string
LPSECURITY_ATTRIBUTES lpProcessAttributes, // pointer to process security attributes
LPSECURITY_ATTRIBUTES lpThreadAttributes, // pointer to thread security attributes
BOOL bInheritHandles, // handle inheritance flag
DWORD dwCreationFlags, // creation flags
LPVOID lpEnvironment, // pointer to new environment block
LPCTSTR lpCurrentDirectory, // pointer to current directory name
LPSTARTUPINFO lpStartupInfo, // pointer to STARTUPINFO
LPPROCESS_INFORMATION lpProcessInformation // pointer to PROCESS_INFORMATION
);


← →
Undert ©   (2001-12-01 14:24) [3]

Не, это же разврат !
Проще надо, проще: "ShellExecute();", а в модуле ShellApi


← →
B@Nt ©   (2001-12-01 19:46) [4]

uses
shellapi;
...
procedure button1.click...
ShellExecute(form1.handle,nil," c:\",nil,nil,sw_shownormal);



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

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



Память: 0.45 MB
Время: 0.006 c
4-100100
DenKop
2001-11-30 23:33
2002.01.31
Вывод текста через контекст устройства...


7-100085
Win
2001-10-20 12:30
2002.01.31
TRegistry


3-99851
Bachin
2001-12-25 20:51
2002.01.31
IB:Named Transaction in trigger


3-99912
RoadRunner
2001-12-28 20:57
2002.01.31
Помогите новичку со вставкой данных


7-100072
Liroy
2001-10-19 21:26
2002.01.31
Hook, клавиатурный шпион




   Наверх