WeChats.h 482 B

123456789101112131415161718192021222324252627282930313233
  1. // WeChats.h : PROJECT_NAME 应用程序的主头文件
  2. //
  3. #pragma once
  4. #ifndef __AFXWIN_H__
  5. #error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
  6. #endif
  7. #include "resource.h" // 主符号
  8. // CWeChatsApp:
  9. // 有关此类的实现,请参阅 WeChats.cpp
  10. //
  11. class CWeChatsApp : public CWinAppEx
  12. {
  13. public:
  14. CWeChatsApp();
  15. static ULONG_PTR m_gdiplusToken;
  16. // 重写
  17. public:
  18. virtual BOOL InitInstance();
  19. // 实现
  20. DECLARE_MESSAGE_MAP()
  21. virtual int ExitInstance();
  22. };
  23. extern CWeChatsApp theApp;