VS2022 unresolved external symbol "void __cdecl AfxThrowMemoryException(void)

Vishnu Gopalakrishnan
126
Reputation points
Even if mfc and atl libraries included, below error occurs.
mfcs140u.lib(nolib.obj) : error LNK2019: unresolved external symbol "void __cdecl AfxThrowMemoryException(void)" (?AfxThrowMemoryException@@YAXXZ) referenced in function "void __cdecl ATL::AtlThrowImpl(long)" (?AtlThrowImpl@ATL@@YAXJ@Z)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,960 questions
Sign in to answer