///////////////////////////////////////////////////////////////////////////// #ifndef _COMMANDLINE_INFO_EX_H_ #define _COMMANDLINE_INFO_EX_H_ ////////////////////////////////////////////////////////////////////////// #include using namespace std; class CCommandLineInfoEx : public CCommandLineInfo { public: CCommandLineInfoEx(void); ~CCommandLineInfoEx(void); public: bool GetWindowHandle(string& strWindowHandle); void GetBatchID(string& strBatchID){ strBatchID = m_strBatchID; } public: virtual void ParseParam(const TCHAR* pszParam); static void ParseCommandLine(CCommandLineInfoEx& rCmdInfo); static BOOL ParseWindow(string strUrl, string& strWindow); static BOOL ParseBatchID(string strUrl, string& strBatchID); private: string m_strWindow; string m_strBatchID;; }; #endif // _COMMANDLINE_INFO_EX_H_