ZGKJ.h 669 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. 
  2. // ZGKJ.h: PROJECT_NAME 应用程序的主头文件
  3. //
  4. #pragma once
  5. #ifndef __AFXWIN_H__
  6. #error "在包含此文件之前包含 'pch.h' 以生成 PCH"
  7. #endif
  8. #include "resource.h" // 主符号
  9. // CZGKJApp:
  10. // 有关此类的实现,请参阅 ZGKJ.cpp
  11. //
  12. #define STR_NUM 512
  13. class CZGKJApp : public CWinApp
  14. {
  15. public:
  16. CZGKJApp();
  17. HtlMysql* sql;
  18. int Department_ID = 0;
  19. CString Phone;
  20. // 重写
  21. public:
  22. LPVOID pParam;
  23. virtual BOOL InitInstance();
  24. static char* MyTtoA(CString str);
  25. static CString MyAtoT(const char* c_str);
  26. static int MyTtoI(CString str);
  27. static CString MyItoT(int num);
  28. // 实现
  29. DECLARE_MESSAGE_MAP()
  30. };
  31. extern CZGKJApp theApp;