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

Re: missing CF image support on device by Dean

Dean
Thu Jul 28 08:40:24 CDT 2005

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?
--
Dean Ramsier - eMVP


"Danny" <madexcept@hotpop.com> wrote in message
news:OS6nIU2kFHA.3312@tk2msftngp13.phx.gbl...
> 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
>
>



Re: missing CF image support on device by Danny

Danny
Thu Jul 28 08:50:28 CDT 2005

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?

"Dean Ramsier" <ramsiernospam@nospam.com> wrote in message
news:%23NH6Mm3kFHA.3828@TK2MSFTNGP12.phx.gbl...
> 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?
> --
> Dean Ramsier - eMVP



Re: missing CF image support on device by Chris

Chris
Thu Jul 28 09:59:39 CDT 2005

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


"Danny" <madexcept@hotpop.com> wrote in message
news:eIStlt3kFHA.2852@TK2MSFTNGP14.phx.gbl...
> 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?
>
> "Dean Ramsier" <ramsiernospam@nospam.com> wrote in message
> news:%23NH6Mm3kFHA.3828@TK2MSFTNGP12.phx.gbl...
>> 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?
>> --
>> Dean Ramsier - eMVP
>
>



Re: missing CF image support on device by Danny

Danny
Thu Jul 28 14:16:08 CDT 2005

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 ;>

"Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
news:OurZ7T4kFHA.3656@TK2MSFTNGP09.phx.gbl...
> 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.