Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

OleLoadPicture in Windows CE

Posted on 2003-03-12
3
Medium Priority
?
1,649 Views
Last Modified: 2013-12-27
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
0
Comment
Question by:cathalcourtney
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
prakash_raj earned 150 total points
ID: 8172727
Hi Cathal,

I believe OleLoadPicturePath is not supported in CE!

but the document says OleLoadPicturePath is equivalent to calling OleCreatePictureIndirect(NULL, ...) followed by IPersistStream::Load.

Does this help you??

Cheers,
Prakash
0
 

Author Comment

by:cathalcourtney
ID: 8174211
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
0
 

Author Comment

by:cathalcourtney
ID: 8174263
Found it!!!

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

You can use imgdecmp.dll and VOImage.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Screencast - Getting to Know the Pipeline
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question