|
-
September 12th, 2004, 01:09 AM
#1
shipping an MFC application
Hello all
I have written an MFC apllication, dialog based and build in release mode.now am sending this to my friend.Do i need to send any other
DLL's with my app?he doesnt have VC++ installed on his PC.
Thanks in Advance.
-
September 12th, 2004, 03:10 AM
#2
Re: shipping an MFC application
Just make sure you're linking to the static MFC libraries (project settings dialog).
If you use dynamic linking you'll need to ship both MFC and MSVCRT dlls.
A nice trick would be to use dependency walker to check for all dependent modules in your app: http://www.dependencywalker.com
-
September 12th, 2004, 04:53 AM
#3
Re: shipping an MFC application
 Originally Posted by puzzolino
If you use dynamic linking you'll need to ship both MFC and MSVCRT dlls.
Well, that's not entirely true: Since Win95 at least, the VC and MFC runtime libraries are already installed with the system - no need to ship them separately.
-
September 12th, 2004, 04:32 PM
#4
Re: shipping an MFC application
 Originally Posted by gstercken
Well, that's not entirely true: Since Win95 at least, the VC and MFC runtime libraries are already installed with the system - no need to ship them separately.
Well, you are assuming spicy_kid2000 has built his code on Visual C++ 6.
VC 7 updated both MFC and MSVCRT dlls so his program won't work if he doesn't ship them.
Also in the case of Win95/98/NT I'd not rely on those DLLs being present or up-to-date if I used MFC; anyway I'm not been using MFC in my own programs for last two years...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|