|
HINSTANCE ShellExecute(
HWND hwnd, // handle to parent window
LPCTSTR lpOperation, // pointer to string that specifies operation to perform
LPCTSTR lpFile, // pointer to filename or folder name string
LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters
LPCTSTR lpDirectory, // pointer to string that specifies default directory
INT nShowCmd // whether file is shown when opened
);
이 API 쓰면 됩니다. ^^
아니면 CreateProcess도 괜찮구요.
james lee 님이 쓰신 글 :
: 실행파일(*.exe)에서 다른 프로그램 실행...
:
: 현재 개발에 참여하고 있는 개발자 입니다. C Builer로 어떤 실행파일을 만들었고 이 파일에서
: 다른 실행파일(Alftp.exe,AlSee.exe ...)와 같은 프로그램을 실행해야 합니다. 예를 들어 AlSee를 실행시,Open시킬 파일명을 전달하여 Open시키고자 합니다. 이런 명령어가 분명히 있는것 같은데
: 어디에 있는지 모르겠네요.
: 고수님들 부탁합니다....
|