I got the compiler error in Windows MFC application, how to resolve it?
When linking an application against Microsoft Foundation Class (MFC), you might get the following error message. nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc nafxcw.lib(olelink.obj) : error LNK2001: unresolved external symbol __mbctype Compile your C or C++ program files with option /MD since Embedded Ch is compiled with option /MD so that the same version of library will be used. You also need to specify that you are using MFC in a shared dll. This can be specified in the project settings.
Related Questions
- How do you resolve the eAvLicErr_SysStateCorruptCurrLoc error that occurs with CiscoUnity_AvLic displayed in the application event log, which runs on the Cisco Unity server?
- Extraction error running vivoplay.exe on Windows 95 or player16.exe on Windows 3.1. How do I resolve this error?
- Exporting time series in Diver-Office 2010.1 gives an application error. How do I resolve this issue?