CCmd.h 593 B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #include<string>
  3. #include <tchar.h>
  4. #include <windows.h>
  5. #include <ShlObj.h>
  6. #include "KeyVar.h"
  7. #include "Logini.h"
  8. #include "CharConvert.h"
  9. #include "FileCore.h"
  10. class CCmd
  11. {
  12. private:
  13. STARTUPINFO si;
  14. PROCESS_INFORMATION pi;
  15. public:
  16. bool m_IsWin8InstallNet = false;
  17. public:
  18. CCmd();
  19. //静默安装指令
  20. BOOL Installcmd();
  21. //打开App指令:暂时没有用到这个函数:直接使用启动程序接口来打开便可
  22. BOOL OpenAppcmd();
  23. BOOL Executecmd(TCHAR pszCmdLine[], bool isVBA = false);
  24. bool GetVBA_UTF8();
  25. bool GetVBA_UTF16();
  26. BOOL InstallNetcmd();
  27. BOOL InstallVcPlusPluscmd();
  28. };