I have developed a class library that wraps an existing unmanaged class library. All of this is done under Visual C++ 2005 (after realizing that it is virtually impossible under VC 2003).
I am trying to use the wrapper classes in a simple Forms application. In the debug mode, I am getting a _CrtIsValidHeapPointer assertion before any of my code is invoked. To ease troubleshooting, the debugger does not breakpoint nor provide any Call Stack information.
I have made sure that the Runtime Libraries options are compatible between all projects (Multithreaded Debug DLL).
Any suggestion ?