I have a mixed-mode C++ application (/Clr code with a native library), all compiled with VS 2008.
The Win32 platform build works fine. On the opposite, the x64 build crashes very quickly at application startup.
After laborious debugging, I observe that the creation of a global-scope object in the native library raises a heap corruption assertion (upon "dynamic initializer" invocation).
The code of the object constructor is not the cause.
What can I do ?