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)