DLL not found

L

Larry Waibel

If I ever get my hands on the Microsoft programmer that programmed that 'DLL
not found' message without having the common decency to tell me WHICH DLL
wasn't found, I'd probably strangle him/her! What in the blazes were they
thinking; obviously they know WHICH DLL so why keep it a secret? I have a
release build that runs on my target but not a debug one. On the target it
just does nothing when I try to run it. If I remote debug, it loads a few
DLLs and then gives me that obnoxiously irritating message! I've tried to
run 'dependency walker' and 'filemon' on the target and when I try to open
the .exe in 'depends' it does nothing and 'filemon' opens but shows no
activity. If it run it remotely it seems to load up the program but doesn't
show me what DLL is missing. Any idea where that programmer lives! <g>
 
S

Sean Liming \(eMVP\)

All the info is stored in the PE header. Is this your own EXE or from
someone else? Is this EXE in a component? Can you run Dependency Walker on
your develoment machine and get a list of DLLs?

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.
 
L

Larry Waibel

All the info is stored in the PE header. Is this your own EXE or from
someone else? Is this EXE in a component? Can you run Dependency Walker on
your develoment machine and get a list of DLLs?
It's my own .exe, not a component; I'm trying to remote debug and it won't
load up. Yes, I can run 'depends' from my machine and get a list but then I
have to check each one to see if it's the one that's missing. Sure would
have been a WHOLE LOT easier if the message had just told me WHICH DLL it
couldn't find <sigh>.

I don't understand why, when I run 'depends' on the target and try to open
the .exe that nothing happens and no error message. I have all the files
that come with it in the directory that I'm running it from but it doesn't do
anything and I can't figure out why.
 
L

Larry Waibel

Did you try dynamic profiling with Depends?

Is this a .NET application?
I tried it but it didn't seem to show me a missing one. It's not a .NET
application. I finally found that I didn't have a 'msvcirtd.dll' on my
target.
 

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