⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mygdiplus.h

📁 c语言编程软件vc6.0中文绿色版_vc6.0官方下载
💻 H
字号:
#define ULONG_PTR DWORD
//#include "GdiPlus.h" 

//// Ensure that GdiPlus header files work properly with MFC DEBUG_NEW and STL header files.
#define iterator _iterator

#ifdef _DEBUG

namespace Gdiplus
{
	namespace DllExports
	{
#include "GdiplusMem.h"
	};
#ifndef _GDIPLUSBASE_H
#define _GDIPLUSBASE_H
	class GdiplusBase
	{
	public:
		void (operator delete)(void* in_pVoid)
		{
			DllExports::GdipFree(in_pVoid);
		}
		void* (operator new)(size_t in_size)
		{
			return DllExports::GdipAlloc(in_size);
		}
		
		void (operator delete[])(void* in_pVoid)
		{
			DllExports::GdipFree(in_pVoid);
		}
		
		void* (operator new[])(size_t in_size)
		{
			return DllExports::GdipAlloc(in_size);
		}
		
		void * (operator new)(size_t nSize, LPCSTR lpszFileName, int nLine)
		{
			return DllExports::GdipAlloc(nSize);
		}
		
		void operator delete(void* p, LPCSTR lpszFileName, int nLine)
		{
			DllExports::GdipFree(p);
		}
		
	};
#endif // #ifndef _GDIPLUSBASE_H
}
#endif // #ifdef _DEBUG

#include "GdiPlus.h" 
#undef iterator
	//// Ensure that Gdiplus.lib is linked.
#pragma comment(lib, "gdiplus.lib")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -