Link to home
Start Free TrialLog in
Avatar of cathalcourtney
cathalcourtney

asked on

OleLoadPicture in Windows CE

Hi,
I am using MFC for Windows CE with the Pocket PC 2002 SDK.

Is it possible to use OleLoadPicturePath with MFC for Windows CE? I get a link error whenever I try to use it.

If it is not possible, is there an alternative??

Thanks

Cathal
ASKER CERTIFIED SOLUTION
Avatar of prakash_raj
prakash_raj

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cathalcourtney
cathalcourtney

ASKER

Thanks Prakash,
but its not supported either.

I just came across an msdn article that says...

Q: Also is there any way to load a GIF or JPG and convert to an HBITMAP on WindowsCE.NET in C/C++? I've noticed that OleLoadPicturePath and OleCreatePictureIndirect are not supported

A: Currently we don't have a standard imaging codec solution available in Windows CE.NEt. We are considering adding this feature for the next release

http://msdn.microsoft.com/chats/embedded/embedded_021903.asp


Dont suppose you know of any way around this?

Thanks for your help

Cathal
Found it!!!

http://www.codeguru.com/ce/CEimage.html

You can use imgdecmp.dll and VOImage.