For some time I struggled with a similar problem in one project. For me, my precompiled header has the following:
#define GDIPVER 0x0110
#include "gdiplus.h". .cpp, GDI+. GDI + , GDI + . , , , gdiplus.h, GDIPVER. , , C/++ > /showIncludes, gdiplus.h , .
, , 1.1, . .cpp :
// Update Manifest
// cf: http://blogs.msdn.com/b/oldnewthing/archive/2007/05/31/2995284.aspx
//
// We use features from GDI+ v1.1 which is new as of Windows Vista. There is no redistributable for Windows XP.
// This adds information to the .exe manifest to force GDI+ 1.1 version of gdiplus.dll to be loaded on Vista
// without this, Vista defaults to loading version 1.0 and our application will fail to launch with missing entry points.
source
share