tags:

views:

62

answers:

0

Hi,

I just upgraded a C++/CLR projct that works as a wrapper around a native DLL (build with VC2005). Visual Studio upgraded and builds just fine - no errors at all.

When I run some test methods inside the wrapper accessing the native DLL, the native DLL seems to work correct (response from native DLL methods are as usual). But as soon as the code leaves the method inside the wrapper, Visual Studio brings up the following message:

"Windows has triggered a breakpoint in SAMPLE1.exe.

This may be due to a corruption of the heap, which indicates a bug in SAMPLE1.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while SAMPLE1.exe has focus.

The ouput window may have some diagnostic information."

There seem to be changs simply breaking something inside the native DLL.

Is there a way to build the wrapper project against VC2005?

Thanks

fox