Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I got the compiler error in Windows MFC application, how to resolve it?

0
Posted

I got the compiler error in Windows MFC application, how to resolve it?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123