12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // HJHomework.h : PROJECT_NAME 应用程序的主头文件
- //
- #pragma once
- #ifndef __AFXWIN_H__
- #error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
- #endif
- #include "resource.h" // 主符号
- #pragma warning(disable: 4005)
- #pragma warning(disable: 4018)
- #pragma warning(disable: 4091)
- #pragma warning(disable: 4129)
- #pragma warning(disable: 4244)
- #pragma warning(disable: 4482)
- #pragma warning(disable: 4603)
- #pragma warning(disable: 4786)
- #pragma warning(disable: 4996)
- #include "../Util/typedef_struct.h"
- using namespace Gdiplus;
- #pragma comment(lib,"gdiplus.lib")
- // CHJHomework:
- // 有关此类的实现,请参阅 HJHomework.cpp
- //
- class CHJHomework : public CWinApp
- {
- public:
- CHJHomework();
- // 重写
- public:
- virtual BOOL InitInstance();
- virtual int ExitInstance();
- // 实现
- DECLARE_MESSAGE_MAP()
- private:
- GdiplusStartupInput gdiplusStartupInput; // GDI+参数
- ULONG_PTR gdiplusToken; // GDI+参数
- HANDLE m_hMutex;
- };
- extern CHJHomework theApp;
|