I moved some unmanaged C++ code into a C++/CLI project. The unmanaged
code makes some Win32 API calls. I thought as long as I kept the API
calls in a native class, it would integrate seamlessly. However, I am
getting a whole bunch of linker errors with regards to the API calls:
Example:
error LNK2028: unresolved token (0A00001A) "extern "C" int __stdcall
MessageBoxA(str uct HWND__ *,char const *,char const *,unsigned int)" (?
MessageBoxA@@$$ J216YGHPAUHWND_ _@@PBD1I@Z) referenced in function
"public: void __clrcall D3DException::s howMsg(void)" (?
showMsg@D3DExce ption@@$$FQAMXX Z)
code makes some Win32 API calls. I thought as long as I kept the API
calls in a native class, it would integrate seamlessly. However, I am
getting a whole bunch of linker errors with regards to the API calls:
Example:
error LNK2028: unresolved token (0A00001A) "extern "C" int __stdcall
MessageBoxA(str uct HWND__ *,char const *,char const *,unsigned int)" (?
MessageBoxA@@$$ J216YGHPAUHWND_ _@@PBD1I@Z) referenced in function
"public: void __clrcall D3DException::s howMsg(void)" (?
showMsg@D3DExce ption@@$$FQAMXX Z)
Comment