missing CF image support on device

D

Danny

Hi all,

I'm having problems with a C# Smart Device app - I'm loading a bitmap
like this:
Image bgImage = new Bitmap(appDir + "start.gif");
but on a WinCE 5 device this this causes an exception with message
"Exception".
The emulator that comes with VS.NET 2003 (WinCE 4.10) works ok. From what
I've found online, the problem is that imgdecmp.dll is missing from the
emulator image:
http://www.dotnet247.com/247reference/msgs/35/177663.aspx
http://tinyurl.com/8jpkq

Unfortunately the solution present here:
http://msdn.microsoft.com/smartclient/understanding/netcf/FAQ/default.aspx#1.31
doesn't work (I'm using PB 5 / VS.NET 2003) - including the "OS Dependencies
for the .NET"
item doesn't add imgdecmp.dll the to the platform (or fix the problem).
Has anybody seen this before?

Best regards,
Danny
 
D

Dean Ramsier

I've never attempted to use this, but perusing the .bat and .bib files it
looks to me like it's missing from CE5. According to the .bib files, this
module should be brought in as a part of WCESHELLFE, however there is
nothing in the wceshellfe.bat file that allows this module to be added.
There are also no makefile entries for it, and I don't see the libs in the
OS tree.

Based on all that, I'm not seeing it as being a part of CE5?
 
D

Danny

Indeed it might not be included in CE5, but this would be a strange
choice,
since loading an image from a VC# 2003 program is a basic task (and
VS2005 is still beta). Do you think there's a missing dependency for the
..NET
PB components or that it's a VS-PB incompatibility?
 
C

Chris Tacke, eMVP

imgdecmp.dll was part of PIE, and I've seen in many cases where warnings
were made to not directly link to it as it's undocumented and likely to
change. My bet is that the functionality has moved to another library
(maybe now in imaging.dll?) in 5.0. Try adding PIE and seeing if it works.
If so, then it's a matter of reverse engineering to find where the
functionality lies.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
D

Danny

Thanks Chris,
I've made an "all + kitchen sink" image (PIE and the imaging codecs
included too) - I'll try it first thing in the morning.
OT: I've used OpenNETCF a little lately and I liked it - thanks for very
nice work ;>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top