Discussion:
Dependency Walker for Win CE?
(too old to reply)
Franc Zabkar
2008-10-29 19:20:37 UTC
Permalink
Is there a Dependency Walker app for Win CE 5.0 that can tell me which
DLLs are required by a particular software module?

Currently what I'm doing is uploading the module to my Windows desktop
and examining it with the following desktop version of Dependency
Walker:

http://www.dependencywalker.com/

AFAICS, this only gives me the names of the first level dependencies.
In all cases so far, this basic information has sufficed, but it would
be handier to be able to do this on the PDA.

I'm also looking for a copy of CMD.EXE or some third party
alternative.

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
Franc Zabkar
2008-11-01 23:02:23 UTC
Permalink
On Thu, 30 Oct 2008 06:20:37 +1100, Franc Zabkar
Post by Franc Zabkar
Is there a Dependency Walker app for Win CE 5.0 that can tell me which
DLLs are required by a particular software module?
I found that PEinfo provides me with more information that I'll ever
need, or understand:
http://www.yetanotherhomepage.com/j7xx/files/peinfo.zip

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
Chris Tacke, eMVP
2008-11-03 16:36:12 UTC
Permalink
The normal depends.exe or dumpbin.exe work fine on CE files too.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
Post by Franc Zabkar
On Thu, 30 Oct 2008 06:20:37 +1100, Franc Zabkar
Post by Franc Zabkar
Is there a Dependency Walker app for Win CE 5.0 that can tell me which
DLLs are required by a particular software module?
I found that PEinfo provides me with more information that I'll ever
http://www.yetanotherhomepage.com/j7xx/files/peinfo.zip
- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
Franc Zabkar
2008-11-03 20:37:49 UTC
Permalink
On Mon, 3 Nov 2008 10:36:12 -0600, "Chris Tacke, eMVP"
Post by Chris Tacke, eMVP
The normal depends.exe or dumpbin.exe work fine on CE files too.
But wouldn't that require all the dependent files to be copied to the
same folder on your desktop PC as the file being examined? Otherwise
any dependencies in the CE file may incorrectly refer to DLLs in the
Windows\System folder on the desktop machine.

BTW, here are two screen shots:
Loading Image...
Loading Image...

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
Chris Tacke, eMVP
2008-11-03 20:51:24 UTC
Permalink
I use dumpbin heavily - so heavily that I just have DumpbinGui installed so
I can right click a DLL and get any info I want from it. Yes, depends.exe
is going to fail to find things like coredll and aygshell, but so what?
I've never seen that as an issue. I know they are CE-specific and in ROM.
If you need the details that low (like what exports coredll specifically has
and at what offset), you need to have build the OS yourself anyway and there
are PB tools to look at them.

I suppose I can see the value of doing on-device checks to see what's
loadable, etc, but I find it pretty rare that the desktop tools don't answer
what I'm asking, and they're way more convenient than pushing stuff to the
device to do the check.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
Post by Franc Zabkar
On Mon, 3 Nov 2008 10:36:12 -0600, "Chris Tacke, eMVP"
Post by Chris Tacke, eMVP
The normal depends.exe or dumpbin.exe work fine on CE files too.
But wouldn't that require all the dependent files to be copied to the
same folder on your desktop PC as the file being examined? Otherwise
any dependencies in the CE file may incorrectly refer to DLLs in the
Windows\System folder on the desktop machine.
http://www.users.on.net/~fzabkar/WMminiGPS_depends.gif
http://www.users.on.net/~fzabkar/WMminiGPS_PEinfo.gif
- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
Franc Zabkar
2008-11-04 19:20:15 UTC
Permalink
On Mon, 3 Nov 2008 14:51:24 -0600, "Chris Tacke, eMVP"
Post by Chris Tacke, eMVP
I use dumpbin heavily - so heavily that I just have DumpbinGui installed so
I can right click a DLL and get any info I want from it. Yes, depends.exe
is going to fail to find things like coredll and aygshell, but so what?
I've never seen that as an issue. I know they are CE-specific and in ROM.
If you need the details that low (like what exports coredll specifically has
and at what offset), you need to have build the OS yourself anyway and there
are PB tools to look at them.
I suppose I can see the value of doing on-device checks to see what's
loadable, etc, but I find it pretty rare that the desktop tools don't answer
what I'm asking, and they're way more convenient than pushing stuff to the
device to do the check.
Where can I get dumpbin.exe? Is it only available to purchasers of
Visual Studio, Visual C++, or other commercial MS products?

I'm not a programmer, just a frustrated Win CE novice. I'm trying to
get applications to run on my Win CE 5.0 device, but I'm often running
into errors in respect of missing components, or components with the
wrong version, eg mfcce300.dll. How do I determine the version of a
particular DLL? IIUC, the date stamp reflects the time at which the
module was compiled by the application programmer, so this is not a
valid indicator.

There are other MS files and utilities which I'd like to have, eg
cmd.exe, but these don't appear to be available for download. On the
legal side, if I were to obtain a copy of cmd.exe, would I be
infringing copyright if I were to use it on my device? Presumably the
device's manufacturer has a legal licence for Win CE *and* all its
components, or are such licences negotiated on a "per component"
basis?

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
Paul G. Tobey [eMVP]
2008-11-04 19:28:25 UTC
Permalink
Post by Franc Zabkar
Where can I get dumpbin.exe? Is it only available to purchasers of
Visual Studio, Visual C++, or other commercial MS products?
It's in Visual Studio, yes. In the install, it's in the VC\bin folder, so I
presume that it comes with Visual C++, too. It's probably in the Windows
SDK, which you can download from www.microsoft.com/downloads.
Post by Franc Zabkar
I'm not a programmer, just a frustrated Win CE novice. I'm trying to
get applications to run on my Win CE 5.0 device, but I'm often running
into errors in respect of missing components, or components with the
wrong version, eg mfcce300.dll. How do I determine the version of a
particular DLL? IIUC, the date stamp reflects the time at which the
module was compiled by the application programmer, so this is not a
valid indicator.
MFC, which is what your example is, builds the version into the DLL file
name. There's no other way, because people don't expect you to do what
you're doing and there's no support for doing it.
Post by Franc Zabkar
There are other MS files and utilities which I'd like to have, eg
cmd.exe, but these don't appear to be available for download. On the
legal side, if I were to obtain a copy of cmd.exe, would I be
infringing copyright if I were to use it on my device?
Yes, you would (or, rather, anyone who gives you the ability to download it
would be violating their license for Windows CE).
Post by Franc Zabkar
Presumably the
device's manufacturer has a legal licence for Win CE *and* all its
components, or are such licences negotiated on a "per component"
basis?
Yes, they have a license, but not for separate distribution (of course!).
They can build an OS for their device and, based on what they *include in
the device*, they pay for one version of the license or another. None of
the licenses provide for shipping pieces of the OS separately, though.

Paul T.

Loading...