Global.h 659 B

123456789101112131415161718
  1. #pragma once
  2. namespace GLOBAL
  3. {
  4. // 全局路径;
  5. extern TCHAR g_szModulePath[MAX_PATH]; // 软件目录;
  6. extern TCHAR g_szModuleFileName[MAX_PATH]; // 软件名称;
  7. void Init();
  8. BOOL StartProcess(LPCTSTR lpApplicationName, LPCTSTR lpCommandLine, CString &strStdOutput);
  9. CString ReadFileContent(LPCTSTR lpFileName);
  10. void GetStringList(CString strData, CString strSplit, CStringList &ListStr);
  11. BOOL FindString(CStringList &ListStr, CString strFind, CString &strResult);
  12. INT CheckListData(CStringList &listStr);
  13. BOOL SaveList(CStringList &ListStr);
  14. BOOL GetFilePath(OUT TCHAR *FilePath, IN HWND hParentWnd, IN TCHAR* InstructionString, IN UINT ulFlags);
  15. };