#pragma once /****************************************************************************** The machanism to launch the target process. ******************************************************************************/ class KLauncher { protected: STARTUPINFO si; PROCESS_INFORMATION pi; TCHAR * szAppName; TCHAR * szCurrentDirectory; #ifdef KDEBUG KException::KWinException e_win; #endif public: KLauncher(); ~KLauncher(); bool LaunchApp(void); DWORD GetThreadId(void); };