Вниз
Скачать: 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
4-100117
Cobalt
2001-11-25 19:44
2002.01.31
Как работать с этим проклятым PChar?


1-99940
greenrul
2002-01-13 14:46
2002.01.31
Подскажите лучший метод реализации этой идеи ->>


4-100099
VanRain
2001-12-01 15:11
2002.01.31
Инфа по WinAPI


1-100006
jorh
2002-01-15 09:14
2002.01.31
Индекс компонента - это круто


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




   Наверх