My application is crashing on Bitmap* image = new Bitmap(hicon) in a old Win XP installation. The stack trace is showing it is in gdiplus.dll, the version of the dll in this system is 5.1.3097.0. I tried with a newer version of dll (5.1.6001.0) and it was working fine. Is this a bug with GDI Plus? or am I doing something wrong.
What is the best way to solve this? I tried with copying the dll to application folder then also it was crashing(I think the old version of dll is already loaded). Is theer any way to statically link gdiplus.dll?
Regards, Manoj Marathayil