What DLL's does and .EXE use ?

I have a program which I bought a couple of years back (Infacta GroupMail Pro).

I have since switched hard drives, and the original hard drive it was loaded on is now a 'slave' drive.

The problem is, I can't find the original installer for the program, and Infacta won't let me download again - they say version 3.7 is no longer supported and I need to buy a new one - which I don't want to.

I have the program all installed and working on the slave drive, but it isn't working on the drive I boot from - when I try to run it, it comes up with various DLL's not found - I can copy them one by one as the error message appears, and REGSVR32 them - but is there any utility that tells me exactly which DLL's are accessed from an .EXE file ? that way I could copy them all across and register them in one go.

Thanks for your help...

Matt
MilkMonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

peprCommented:
The problem is that the Dll's will be reported when loaded. This means that they will not be reported if they are loaded only in some situation that you do not induce.
0
peprCommented:
Still, I would try to contact the company and ask them. If I were them, I would help you.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

MilkMonAuthor Commented:
Already tried contacting them. They were not helpful at all - they insisted I buy the new version !!!!
0
mrwad99Commented:
Not quite sure if this is the same as what pepr has listed, but I would use http://www.dependencywalker.com/.  This also caters for delay loaded DLLs.

You are still likely to run into problems however, as the application may have written entries to the registry that it depends on.  Finding out what entries are specific to the application without monitoring the registry in advance is, unfortunately, a much harder task.
0
MilkMonAuthor Commented:
Thanks

I wrote a quick batch file that I could run from the CMD window and type the name of each DLL / OCX that wasn't found...

copy e:\windows\system32\%1 c:\windows\system32
regsvr32 c:\windows\system32\%1

Worked well enough - but then I got an email back from Infacta - so I take it all back - Miriam in their support department is very helpful indeed - she sent me my license details, so I was able to re-install it.

Happy ending !!!

and points to you pepr - thanks for the advice.
0
MilkMonAuthor Commented:
mrwad99

Thanks a million for that - didn't see your reply as I had already accepted and started typing my final response (you will see just 1 minute in between) otherwise I would have accepted your answer.

Dependency walker is exactly what I was looking for, but Infacta came through in the end anyway.

Many thanks

Matt
0
mrwad99Commented:
No problem, glad you got it sorted :o)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.