From 4d3923a7b028f3025dbe1a4c234c628912168f5b Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 16 Apr 2005 12:33:50 +0000 Subject: [PATCH] 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 --- samples/mfc/mfctest.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/samples/mfc/mfctest.cpp b/samples/mfc/mfctest.cpp index 42aeae4726..a8729861ab 100644 --- a/samples/mfc/mfctest.cpp +++ b/samples/mfc/mfctest.cpp @@ -32,12 +32,14 @@ // normally this shouldn't be needed any longer, i.e. it works without // it for me (VZ) // -// (2) You should link with MFC DLL, not static libraries - -// suppress warning about WINVER not being defined from MFC -#ifndef WINVER -#define WINVER 0x7000 -#endif +// (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 +// the sample: +// +// nmake -f makefile.vc BUILD=debug SHARED=0 DEBUG_RUNTIME_LIBS=0 RUNTIME_LIBS=static all +// +// 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" -- 2.45.2