Programming Tips - gdiplus: Avoid program crash when I delete a GDI+ object

Date: 2007dec18 Platform: win32 Library: GDI+ Language: C++ Q. gdiplus: Avoid program crash when I delete a GDI+ object A. Its probably because your program is set to debug. This overrides C++ new and delete. Instead of:
delete pMyObj;
Use
DllExports::GdipFree(pMyObj);
This page has an answer but it doesn't work for me https://google.com/search?q=microsoft+kb317799