bugs >> Program runs but the vb debugger crashes !

by Qmlibw » Wed, 26 Jul 2006 15:20:01 GMT

I dunno what might be the cause of this, I have done a c++ dll that runs
under VB application, the dll is included with an automation library, the
program runs well but when I try to debug the program with the VB debugger is
just crashes when calling the dll, I dunno why, I even have explicitly
defined the functions in my dll yet still the program crashes when I try to
debug it with the VB debugger, although the application itself works . i.e.
the generated executable file works fine with no problem .. what can be the
cause of such a problem ? can anybody help?


bugs >> Program runs but the vb debugger crashes !

by Ralph » Wed, 26 Jul 2006 20:12:53 GMT





is
to
i.e.
the

What do you mean by "crashes"? Does it exit with an unhandled error or
something else?

You can debug both projects at the same time.
Open the C++ project. In Project Settings::Debug Tab
Set the "Executable for debug session" to "VB6.exe"
Then open your VB project and Ctrl+F5.

hth
-ralph





bugs >> Program runs but the vb debugger crashes !

by Qmlibw » Thu, 27 Jul 2006 00:31:02 GMT







ralph,
It just exit without nothin, I have debugged it with the program with VC but
I haven't debugged the VB6, I will try and tell u


Similar Threads

1. program runs inside VB IDE, crash when run the generated exe

sorry if this is not the right forum for this subject

My VB program use some array, when I run it inside the IDE, it is ok, but
when I gen exe and run, it crash, and says :

"Run time error '10'
 this array is fixed or temporarily locked "

any one know the reason ?
thanks