Debugging C++ DLL which is called from VB
I want to set a breakpoint in my C++ DLL. It is being invoked from a VB
project. Everything I try turns my little red dots (break points) into red
dots with white question marks in them.
The C++ project was ported from VC6. So it has unmanaged classes. The port
ALSO brought over the old COM interface. This is fine. As I am working
with this now, I have several MANAGED PUBLIC WRAPPER CLASSES in a single
source file intended for .NET use. These are such as "public __gc class
MyClass". I am trying to set a breakpoint in methods of these managed
wrapper classes.
The VB project was developed stand alone, and solely to test the new wrapper
classes. The VB project does NOT use the COM interface, but rather, the new
managed public classes.
The breakpoints I am working with are all located in the public managed C++
code. I am running the first framework service pack.
Things I've tried:
Added the C++ DLL project to the VB project, with VB as the startup.
Added VB project to the C++ project, with VB as the startup.
Compiled them independently, and from the C++ project specified the VB EXE
as the startup, but in the debug output folder of the C++ project (i.e.
ensured the vb exe file was in the C++ project output folder).
All I get is red dots with white question marks, and no breaks are honored!
Please help!!!