I included GDI in my (MFC) app and I want to use the new Bitmap::ConvertFormat function. But its only available in GDI+ 1.1, which is installed on my pc (vista), but my app keeps using the 1.0 version, even if I put the 1.1 gdiplus.dll in the same directory as my app. When I run the app, I get an 'entry point not found' error for GdipBitmapConvertFormat in gdiplus.dll. How do I get my app to work with the correct DLL ?
Im no expert but... It may be possible that your app doesnt call the gdiplus.dll direct. Perhaps an intermediary MFC type dll is calling gdiplus.dll and because that intermediary dll perhaps lives in a different directory, it does not find "your" gdiplus.dll. Can you uninstall the previous GDI+ (1.0)? And/Or do a search for GDIPlus.dll on your hard drive and see how many copies are about and try renaming the ones found until you find the problem. HTH "rfm" wrote in message news:4852514d$0$22642$bf4948fe@news.tele2.nl... >I included GDI in my (MFC) app and I want to use the new >Bitmap::ConvertFormat function. > But its only available in GDI+ 1.1, which is installed on my pc (vista), > but my app keeps using the 1.0 version, even if I put the 1.1 gdiplus.dll > in the same directory as my app. > When I run the app, I get an 'entry point not found' error for > GdipBitmapConvertFormat in gdiplus.dll. > > How do I get my app to work with the correct DLL ? > >
> How do I get my app to work with the correct DLL ? Did you properly set the define to use gdiplus 1.1 for Vista? Just use the define below: #define GDIPVER 0x0110