Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 13 Jun 2008 12:52:55 +0200,    group: microsoft.public.win32.programmer.gdi        back       


How do I get GDI+ 1.1 to work with my mfc app ?   
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 ?
date: Fri, 13 Jun 2008 12:52:55 +0200   author:   rfm

Re: How do I get GDI+ 1.1 to work with my mfc app ?   
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 ?
>
>
date: Thu, 19 Jun 2008 13:01:04 +0100   author:   KeithM am

Re: How do I get GDI+ 1.1 to work with my mfc app ?   
> 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
date: Thu, 19 Jun 2008 09:12:14 -0400   author:   Michael Phillips, Jr. 0.c0m

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us