More comments to help people build the MFC sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2005-04-16 12:33:50 +00:00
parent c02af65369
commit 4d3923a7b0

View File

@ -32,12 +32,14 @@
// normally this shouldn't be needed any longer, i.e. it works without // normally this shouldn't be needed any longer, i.e. it works without
// it for me (VZ) // it for me (VZ)
// //
// (2) You should link with MFC DLL, not static libraries // (2) You should link with MFC DLL, not static libraries: or, to use static
// run-time libraries, use this command for both building wxWidgets and
// suppress warning about WINVER not being defined from MFC // the sample:
#ifndef WINVER //
#define WINVER 0x7000 // nmake -f makefile.vc BUILD=debug SHARED=0 DEBUG_RUNTIME_LIBS=0 RUNTIME_LIBS=static all
#endif //
// Unless the run-time library settings match for wxWidgets and MFC, you will get
// link errors for symbols such as __mbctype, __argc, and __argv
#include "stdafx.h" #include "stdafx.h"