Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to VC++. Using MFC based apps.

Status
Not open for further replies.

iasonus

Programmer
Oct 16, 2000
9
SE
Hi

If I make an app using MFC, then it will only run on computers that have the MFC library. Therefore, I need to make sure that the files used by the library ship with the project.

How do I know beforehand what files to include with my project? What's the standard way of approaching this problem, so that I can distribute my project?

Regards
Jason
 
You have nothing to #include. One way to do what you want is to specify in settings to build MFC as a statically linked library instead build MFC as dinamically linked library(DLL), walk settings and you sure will find. If you do not want to build statically you may build dinamically and see with dependency walker what other dll's you need. Don't forget, some dll's might use other dll's.

Ion Filipski
1c.bmp
 
So, it's as easy as using the static libary? Ok! thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top