Вниз
Скачать: 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.007 c
1-100015
Yuraz
2002-01-14 18:04
2002.01.31
Не могу разобраться, как определить размер файла???


7-100077
RRR
2001-10-16 14:28
2002.01.31
Вопрос по WinME


4-100120
Crafox
2001-12-04 19:51
2002.01.31
Блокировка сочетаний типа Win+M и т.п.


7-100092
DOMINATOR
2001-09-27 05:53
2002.01.31
Братья ПРОГРАМЕРЫ помогите кто может!!!!!!


14-100053
Arhelon
2001-12-10 08:29
2002.01.31
Помогите плз с Аьской (ActiveList)




   Наверх