SDK -> MFC 변경

Code 2013. 3. 10. 03:31

SDK(Win32 API) -> MFC 변경

* stdafx.h
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit

// turns off MFC's hiding of some common and often safely ignored warning messages
#define _AFX_ALL_WARNINGS

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions


#include <afxdisp.h>        // MFC Automation classes

* *.rc
//#include "windows.h"
#include "afxres.h"

*
uafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
    -> Project Settings -> 'C/C++' ->  'Code Generation' -> Use run-time library’ : Multithread

uafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___wargv
    -> Project Settings -> General -> Use MFC

반응형
Posted by codens


반응형