J
Jim
Hello,
I am writing an application that relies heavily on interop between managed
c++ and native c++.
The main project is managed c++, but most of the classes themselves are
written in native c++ using the
"#pragma unmanaged" to prevent them from getting compiled into MSIL. A few
of the native classes do wrap
..NET framework components, and they use the gcroot<> template to hold
instances of the managed pointers.
The problem is debugging. Visual Studio is having a very hard time stepping
through my project. It constantly hangs and/or crashes. I have never had
problems like this before, and it seems to only be related to combining
managed c++ and native c++ classes in the same project.
Is anyone else out there having this problem? Can anyone from MSFT help me?
I'm at the point where I'm going to have to rip out all the managed code
from my project, and go back to pure native c++.
Thanks,
-Jim
I am writing an application that relies heavily on interop between managed
c++ and native c++.
The main project is managed c++, but most of the classes themselves are
written in native c++ using the
"#pragma unmanaged" to prevent them from getting compiled into MSIL. A few
of the native classes do wrap
..NET framework components, and they use the gcroot<> template to hold
instances of the managed pointers.
The problem is debugging. Visual Studio is having a very hard time stepping
through my project. It constantly hangs and/or crashes. I have never had
problems like this before, and it seems to only be related to combining
managed c++ and native c++ classes in the same project.
Is anyone else out there having this problem? Can anyone from MSFT help me?
I'm at the point where I'm going to have to rip out all the managed code
from my project, and go back to pure native c++.
Thanks,
-Jim