dll

Which dll's do i need to run exe file created by Visual C++ 6.0
igor_jAsked:
Who is Participating?
 
bhatCommented:
Hi
MFCxxD.DLL (core), MFCOxxD.DLL (OLE), MFCDxxD.DLL (database), MFCNxxD.DLL (network), MFCSxxD.LIB (static)

 MFCxx.DLL & MSVCRTxx.DLL


Hope this helps
0
 
nietodCommented:
You don't need any of the MFC* DLLs if you are not using MFC.  

All the DLLs mentioned that end in "D" are used only for debug versions.  A non-debug version (release) version would use the DLLs without the 'D" at the end.

Also you need the run-time library DLL msvcp60.

Finally, why not just use the "depends" program to find out what DLLs an EXE/DLL depends on.
0
 
yodanCommented:
You can also use the 'default libraries' and then make the linker report 'progress', after linking, search for .lib names that have been linked (the ones which have symbols found).
0
 
nietodCommented:
That is not sufficient, because you may be using DLLs that use DLLs, that you don't use directly.  Depends.exe does a recursive search to find these DLLs, but the linker would not report them.
0
 
yodanCommented:
You're right nietod, I was only thinking about the dll's needed to the linking, opposed to the ones needed to _Execute_ the program.
I made a wrong guess, that igor_j was having problems in linking.
So the depends will also point out which COM (ActiveX, OCX, ...) objects are needed?
igor_j: you should know that if you have those kind components you'll have to register them too, with Regsvr32.exe before running. Copying files wont suffice.
An example of one such component is the FlexGrid.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.