From VB.NET Debug C++ DLL
Posted on 2006-04-04
I have created this VB.NET project that uses an existing unmanaged C++ DLL. For some reason when I call a function within this DLL the return code I recieve is an extremely long number. So while running the project I would Ideallly like to be able to step thru the code. I have the source to the DLL. It was created using Visual C++ 6.0.
Declare Function Build_Structure Lib "store.dll" (ByVal fname As String, ByVal ImageFile As String, ByVal ObjClass As Long) As Long
This is how I declared the function in the dll as well. Anything wrong with that?