From: Vadim Zeitlin Date: Sun, 6 Apr 2008 16:01:01 +0000 (+0000) Subject: added a note about entry point in Unicode build (patch 1934836) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f1223c8d5517b34b69e30c9825911a0b4297b308 added a note about entry point in Unicode build (patch 1934836) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/mfc/mfctest.cpp b/samples/mfc/mfctest.cpp index 18b91e3647..245feb580c 100644 --- a/samples/mfc/mfctest.cpp +++ b/samples/mfc/mfctest.cpp @@ -49,6 +49,10 @@ // first: mfc[version][u]d.lib // - [version] -> 42 or 70 or 80 etc // - u if using Unicode +// +// (4) Unicode builds may produce the linker error "unresolved external symbol _WinMain@16". +// MFC requires you to manually add the Unicode entry point to the linker settings, +// Entry point symbol -> wWinMainCRTStartup #include "stdafx.h"