PC Review


Reply
Thread Tools Rate Thread

MORE imgdecmp.dll

 
 
=?Utf-8?B?UmFuaQ==?=
Guest
Posts: n/a
 
      27th Dec 2004
Hello all as Daniel suggested...
the situation is like this:
I have an OEM device with CE .net 4.2 on it, the image doesn't include the
imgdecmp.dll .... the problem that i can't contact the OEM so can i download
it or should i throw the device on my BOSS head.

thanks and best regards

rani
--
Mirror Mirror On The Wall Who Is The Master Of Them ALL
 
Reply With Quote
 
 
 
 
Sergey Bogdanov
Guest
Posts: n/a
 
      27th Dec 2004
Have you checked the missing of your imgdecmp.dll through CeFileViewer?
It could be possible that you just can't see it (DLLs are hidden).

Rani wrote:
> Hello all as Daniel suggested...
> the situation is like this:
> I have an OEM device with CE .net 4.2 on it, the image doesn't include the
> imgdecmp.dll .... the problem that i can't contact the OEM so can i download
> it or should i throw the device on my BOSS head.
>
> thanks and best regards
>
> rani



--
Best regards,
Sergey Bogdanov
 
Reply With Quote
 
=?Utf-8?B?UmFuaQ==?=
Guest
Posts: n/a
 
      27th Dec 2004
Dear Sergey :
YES i've searched and find nothing .... as i can find it on other devices
like Symbol....

STILL WAITING

Thanks and best regards

rani

"Sergey Bogdanov" wrote:

> Have you checked the missing of your imgdecmp.dll through CeFileViewer?
> It could be possible that you just can't see it (DLLs are hidden).
>
> Rani wrote:
> > Hello all as Daniel suggested...
> > the situation is like this:
> > I have an OEM device with CE .net 4.2 on it, the image doesn't include the
> > imgdecmp.dll .... the problem that i can't contact the OEM so can i download
> > it or should i throw the device on my BOSS head.
> >
> > thanks and best regards
> >
> > rani

>
>
> --
> Best regards,
> Sergey Bogdanov
>

 
Reply With Quote
 
Robert Levy [MS]
Guest
Posts: n/a
 
      27th Dec 2004
Not sure where you could get imgdecmp other than from the OEM... maybe
download Platform Builder 4.2 and grab it from there (assuming the EULA
allows this... I don't know off hand)

Regardless, now might be a good time to migrate your code away from imgdecmp
which is unavailable for WinCE 5.0. Instead, the recommendation is to use
imaging.dll and the SHLoadImage* APIs.

--
Robert Levy
Program Manager
Mobile Devices Product Group
http://blogs.msdn.com/windowsmobile

This posting is provided "AS IS" with no warranties, and confers no
rights.

Rani wrote:
> Hello all as Daniel suggested...
> the situation is like this:
> I have an OEM device with CE .net 4.2 on it, the image doesn't
> include the imgdecmp.dll .... the problem that i can't contact the
> OEM so can i download it or should i throw the device on my BOSS head.
>
> thanks and best regards
>
> rani
> --
> Mirror Mirror On The Wall Who Is The Master Of Them ALL



 
Reply With Quote
 
=?Utf-8?B?UmFuaQ==?=
Guest
Posts: n/a
 
      28th Dec 2004
Hi Robert :

thnx , any way I CANT go for win ce 5.0 the device is win ce 4.2 did i miss
upgrading way???

thanks and best regards

"Robert Levy [MS]" wrote:

> Not sure where you could get imgdecmp other than from the OEM... maybe
> download Platform Builder 4.2 and grab it from there (assuming the EULA
> allows this... I don't know off hand)
>
> Regardless, now might be a good time to migrate your code away from imgdecmp
> which is unavailable for WinCE 5.0. Instead, the recommendation is to use
> imaging.dll and the SHLoadImage* APIs.
>
> --
> Robert Levy
> Program Manager
> Mobile Devices Product Group
> http://blogs.msdn.com/windowsmobile
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> Rani wrote:
> > Hello all as Daniel suggested...
> > the situation is like this:
> > I have an OEM device with CE .net 4.2 on it, the image doesn't
> > include the imgdecmp.dll .... the problem that i can't contact the
> > OEM so can i download it or should i throw the device on my BOSS head.
> >
> > thanks and best regards
> >
> > rani
> > --
> > Mirror Mirror On The Wall Who Is The Master Of Them ALL

>
>
>

 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      28th Dec 2004
But, Robert, isn't use of imgdecmp hidden inside CF runtime? How would he
make managed code use SHLoadImage without foregoing the whole managed
graphic API?

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Robert Levy [MS]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Not sure where you could get imgdecmp other than from the OEM... maybe
> download Platform Builder 4.2 and grab it from there (assuming the EULA
> allows this... I don't know off hand)
>
> Regardless, now might be a good time to migrate your code away from
> imgdecmp which is unavailable for WinCE 5.0. Instead, the recommendation
> is to use imaging.dll and the SHLoadImage* APIs.
>
> --
> Robert Levy
> Program Manager
> Mobile Devices Product Group
> http://blogs.msdn.com/windowsmobile
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> Rani wrote:
>> Hello all as Daniel suggested...
>> the situation is like this:
>> I have an OEM device with CE .net 4.2 on it, the image doesn't
>> include the imgdecmp.dll .... the problem that i can't contact the
>> OEM so can i download it or should i throw the device on my BOSS head.
>>
>> thanks and best regards
>>
>> rani
>> --
>> Mirror Mirror On The Wall Who Is The Master Of Them ALL

>
>



 
Reply With Quote
 
Robert Levy [MS]
Guest
Posts: n/a
 
      28th Dec 2004
As CFv1 SP1, imgdecmp is only used as a fallback when imaging.dll is not
available

--
Robert Levy
Program Manager
Mobile Devices Product Group
http://blogs.msdn.com/windowsmobile

This posting is provided "AS IS" with no warranties, and confers no
rights.

Alex Feinman [MVP] wrote:
> But, Robert, isn't use of imgdecmp hidden inside CF runtime? How
> would he make managed code use SHLoadImage without foregoing the
> whole managed graphic API?
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "Robert Levy [MS]" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Not sure where you could get imgdecmp other than from the OEM...
>> maybe download Platform Builder 4.2 and grab it from there (assuming
>> the EULA allows this... I don't know off hand)
>>
>> Regardless, now might be a good time to migrate your code away from
>> imgdecmp which is unavailable for WinCE 5.0. Instead, the
>> recommendation is to use imaging.dll and the SHLoadImage* APIs.
>>
>> --
>> Robert Levy
>> Program Manager
>> Mobile Devices Product Group
>> http://blogs.msdn.com/windowsmobile
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> Rani wrote:
>>> Hello all as Daniel suggested...
>>> the situation is like this:
>>> I have an OEM device with CE .net 4.2 on it, the image doesn't
>>> include the imgdecmp.dll .... the problem that i can't contact the
>>> OEM so can i download it or should i throw the device on my BOSS
>>> head. thanks and best regards
>>>
>>> rani
>>> --
>>> Mirror Mirror On The Wall Who Is The Master Of Them ALL



 
Reply With Quote
 
Guest
Posts: n/a
 
      28th Dec 2004
If I wanted to FindResource() this

IDR_PNG_IT GIF DISCARDABLE "myit.png"

what would I use? There's no RT_GIF. This loads
fine using SHLoadImageResource(), but there's no
way to find the resource anymore (RT_RCDATA won't
do).



Robert Levy [MS] ((E-Mail Removed))[Mon, 27 Dec 2004 13:50:30 -0500]:
>Regardless, now might be a good time to migrate your code away from imgdecmp
>which is unavailable for WinCE 5.0. Instead, the recommendation is to use



It'd be a good idea to better document this API. This is the ENTIRE
thing now (GIF? I remember those from the 80s, back when VGA, 256 colors
and 640 KB was all anyone really needed):

SHLoadImageResource

Converts a .gif file in the resource file to a .bmp file. A resource
.gif file should be coded in the resource file as follows:
IDG_MYIMAGE_GIF GIF DISCARDABLE "MyImage.gif".

Syntax
HBITMAP SHLoadImageResource ( HINSTANCE hinst, UINT uIdGif);
Parameters
hinst [in] Handle to the module whose executable file contains the .gif file
uIdGif [in] UINT identifying the .gif file

Return Values
A handle to a bitmap if successful, NULL otherwise

Requirements: Pocket PC Platforms: Pocket PC 2003 and later
OS Versions: Windows CE .NET 4.0 and later
Header: Declared in aygshell.h
Library: Use aygshell.lib

What did you think of this topic?

Wrong question. The topic is fine. The coverage isn't.

Send us feedback: private.php?do=newpm&u=


Also, for some reason,

iH = LoadLibrary(L"aygshell.dll");
if (iH) {
gLibSHLoadImageResource =
(SHLOADIMAGERESOURCE_PROCADDR)GetProcAddress(iH,L"SHLoadImageResource");

fails to get the proc address (gLibSHLoadImageResource = 0), with
GetLastError() saying 87 (invalid arg). This is exported from aygshell.dll,
appears to be spelled correctly, but it won't getprocaddress.

Version : 0
Machine : 1C0 (ARM)
TimeDateStamp: 3E90713E Sun Apr 06 13:26:06 2003
SizeOfData : 00000021
DLL name : AYGSHELL.dll
Symbol name : SHLoadImageResource
(iH,L"SHLoadImageResource"); looks the same
Type : code
Name type : ordinal
Ordinal : 64


Not much to do with CF, but back to imgdecmp for me.
--
40th Floor - Software @ http://40th.com/
iPlay : the ultimate audio player for iPAQs
mp3, ogg, mp4, m4a, aac, wav, play & record
parametric eq, xfeed, reverb - all on a ppc
 
Reply With Quote
 
=?Utf-8?B?UmFuaQ==?=
Guest
Posts: n/a
 
      29th Dec 2004
Dear Robert :
I've downloaded the Platform Builder 4.2 didn't know how to get it ... can
you help


thanks and best wishes on 2005

"Robert Levy [MS]" wrote:

> Not sure where you could get imgdecmp other than from the OEM... maybe
> download Platform Builder 4.2 and grab it from there (assuming the EULA
> allows this... I don't know off hand)
>
> Regardless, now might be a good time to migrate your code away from imgdecmp
> which is unavailable for WinCE 5.0. Instead, the recommendation is to use
> imaging.dll and the SHLoadImage* APIs.
>
> --
> Robert Levy
> Program Manager
> Mobile Devices Product Group
> http://blogs.msdn.com/windowsmobile
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> Rani wrote:
> > Hello all as Daniel suggested...
> > the situation is like this:
> > I have an OEM device with CE .net 4.2 on it, the image doesn't
> > include the imgdecmp.dll .... the problem that i can't contact the
> > OEM so can i download it or should i throw the device on my BOSS head.
> >
> > thanks and best regards
> >
> > rani
> > --
> > Mirror Mirror On The Wall Who Is The Master Of Them ALL

>
>
>

 
Reply With Quote
 
Daniel Moth
Guest
Posts: n/a
 
      29th Dec 2004
I am not Robert, and it wasn't my suggestion to download PB to get this file
but since you have... Create a new project, follow one of the wizard default
projects, and build the image/platform. Then search in the folder it was
built for the said file (usually under C:\WINCE420\PUBLIC\ in the project
folder under RelDir)

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"Rani" <(E-Mail Removed)> wrote in message
news:40A23912-85AF-48B1-9C53-(E-Mail Removed)...
> Dear Robert :
> I've downloaded the Platform Builder 4.2 didn't know how to get it ... can
> you help
>
>
> thanks and best wishes on 2005
>
> "Robert Levy [MS]" wrote:
>
>> Not sure where you could get imgdecmp other than from the OEM... maybe
>> download Platform Builder 4.2 and grab it from there (assuming the EULA
>> allows this... I don't know off hand)
>>
>> Regardless, now might be a good time to migrate your code away from
>> imgdecmp
>> which is unavailable for WinCE 5.0. Instead, the recommendation is to
>> use
>> imaging.dll and the SHLoadImage* APIs.
>>
>> --
>> Robert Levy
>> Program Manager
>> Mobile Devices Product Group
>> http://blogs.msdn.com/windowsmobile
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> Rani wrote:
>> > Hello all as Daniel suggested...
>> > the situation is like this:
>> > I have an OEM device with CE .net 4.2 on it, the image doesn't
>> > include the imgdecmp.dll .... the problem that i can't contact the
>> > OEM so can i download it or should i throw the device on my BOSS head.
>> >
>> > thanks and best regards
>> >
>> > rani
>> > --
>> > Mirror Mirror On The Wall Who Is The Master Of Them ALL

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
imgdecmp.dll Help needed maps@amudanan.com Microsoft Dot NET Compact Framework 3 31st May 2006 01:56 PM
How can I verify if imgdecmp.dll is included in my system? Exception in Bitmap constructor Alexander Microsoft Dot NET Compact Framework 1 24th Jun 2004 02:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:05 PM.