?
Solved

OleLoadPicture in Windows CE

Posted on 2003-03-12
3
Medium Priority
?
1,616 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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…
Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

764 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