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)
Developer technologies | C++
3,977 questions
Developer technologies | Visual Studio | Other
5,454 questions
Sign in to answer