Independent Release File

 How can I know what shared DLL is included in my setup file to run my App?
  If I only use CListBox, CComboBox, CButton, and some shell functions, can the release file run independently? I use MFC shared DLL build mode.
xiaomaAsked:
Who is Participating?
 
dhymesConnect With a Mentor Commented:
To determine what files your program needs at run time check out the following link.

http://www.codeguru.com/mfc/comments/9179.shtml
0
 
dhymesCommented:
If you build your project using a Shared librarie i.e. MFC librarie, then your program will only run dependant on the existance of the mfc dll files.

CListBox, CComboBox, CButton are all MFC classes so are all rapped up inside of the mfc dll.
0
 
nietodCommented:
A better way to find out is to use the DEPENDS.EXE utility that comes with VC.  It will tell you exactly which DLLs you need.  it is recusrive so that if one of the DLLS you use also needs a DLL, it will be listed too.
0
 
dhymesCommented:
I agree with nietod, the depends utility is a more efficient and easier way to determine the dependancies.
0
All Courses

From novice to tech pro — start learning today.