Re: Determining EXE/DLL processor type

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: bill (poddw_at_yahoo.com)
Date: 03/19/04


Date: Thu, 18 Mar 2004 23:08:43 -0500

We have CE units with SH and ARM builds. Didn't do a perfect job separating
out some of the conditions that can be present with files on removable
media, so customers can get confused and put an SH-based media into an ARM
unit in rare cases. Trying to easily code to prevent problems.

Nothing desktop related, I just feel that sometimes the desktop's drive the
API more than CE.

"Michael J. Salamone [eMVP]" <mikesa#at#entrek#dot#com> wrote in message
news:O0fNxaWDEHA.3348@TK2MSFTNGP11.phx.gbl...
> Nothing that I'm aware of. All documentation I know of tells you the
> format - no mention of APIs.
>
> Are you trying to determine information about a file on the desktop?
> Presumably an ARM-built module would never end up on a SH3 or X86 or
> anything other than an ARM-based platform. So I'm assuming you want to
> examine a file on a desktop machine, perhaps where it was built? You can
> use the dumpbin tool for that.
>
> For anything on a CE target device, or anything beyond what dumpbin does,
I
> think you're on your own.
>
> --
> Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Tell
> Microsoft!
> https://www.windowsembeddedeval.com/community/newsgroups
>
>
> Michael Salamone [eMVP]
> Entrek Software, Inc.
> www.entrek.com
>
>
>
> "bill" <poddw@yahoo.com> wrote in message
> news:u8FnVJVDEHA.3852@TK2MSFTNGP10.phx.gbl...
> > I know the PE header has the processor type in it and all of the PE
> > structures are defined in winnt.h. My question is, is there an API call
> that
> > returns the PE information ?
> >
> > I'd like to be able to determine that a file is an SH file versus an ARM
> > build (or a CE 3.0 versus a 4.x file). I know I can open the file and
> parse
> > the PE header myself, but it would seem like something the API would
> > provide. Especially since nt had the x86/alpha versions. I just can't
seem
> > to find anything.
> >
> >
>
>



Relevant Pages

  • Re: Determining EXE/DLL processor type
    ... >We have CE units with SH and ARM builds. ... >API more than CE. ... >> Have an opinion on the effectiveness of Microsoft ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Determining EXE/DLL processor type
    ... >We have CE units with SH and ARM builds. ... >API more than CE. ... >> use the dumpbin tool for that. ... >> Have an opinion on the effectiveness of Microsoft ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Determining EXE/DLL processor type
    ... use the dumpbin tool for that. ... Have an opinion on the effectiveness of Microsoft Embedded newsgroups? ... > I know the PE header has the processor type in it and all of the PE ... is there an API call ...
    (microsoft.public.windowsce.platbuilder)
  • [PATCH] hardcoded errno numbers in assembly code
    ... instead of including the appropriate header (while ... - getuser.S for arm, arm26 and i386 ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [PATCH] ata: Generic platform_device libata driver, take 2.
    ... attempting to take in to account issues raised by Matthias Fuchs and rmk. ... Changes in this version include adding a small pata_platform.h header for ... the private data (which at the moment is limited to a register shift ... this will enable me to use this code on ARM. ...
    (Linux-Kernel)