|
Hi, Using VS2008 C++ mixing managed and unmanaged (static C++ libs) code. Now, when running my application I get an exception about some code that was not created on the managed heap; basically the exception gets generated when something calls: CrtIsValidHeapPointer(...)
Ok, in some other forum thread, a solution was posted: "Add __DllMainCRTStartup@12" under linker options "Force Symbols Reference". This all works fine when the application is compiled for win32, but when compiled for amd64 (x64), then I get a linker error: ------------------- Linking... 1>LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 -------------------
Any ideas ? Thanks. God bless you,
Saul Rodriguez
|