Home All Groups Group Topic Archive Search About
Author
2 Feb 2006 6:12 PM
Doctor M$
Hi at all,

I've created a DLL with VB6(Sp6) and I'm using this dll in a 3d part
application and I've got a very big problem: how can I debug the dll
when error appears? I try this way (suggest by the developer help of the
3dpart program):
- Run Vb6 and open the project of the DLL
- Run the DLL from Vb6 by the Run > Start with full compile
- add the vb6debug.dll in the 3dpart program

but this way doesn't work.

How I can debug this dll during the run of the 3dpart program?

Doc

Author
2 Feb 2006 6:51 PM
Tony Proctor
You shouldn't need to do the last step. When you "run" the DLL project, the
IDE modifies the registry entry for your DLL to point to vb6debug. Anything
that accesses your DLL will then be redirected by vb6debug to your IDE
session that has it loaded, and that includes any 3rd-part program. It
doesn't have to do anything special.

Also, in the project properties of your DLL, there's a 'Debugging' tab, with
a 'Start Program' text box on it. If you put the command-line for your
third-part program in there then it will automatically start it for you when
you run the DLL project.

        Tony Proctor

Show quoteHide quote
"Doctor M$" <d*@no.email.plz> wrote in message
news:uDCXkPCKGHA.2900@TK2MSFTNGP14.phx.gbl...
> Hi at all,
>
> I've created a DLL with VB6(Sp6) and I'm using this dll in a 3d part
> application and I've got a very big problem: how can I debug the dll
> when error appears? I try this way (suggest by the developer help of the
> 3dpart program):
> - Run Vb6 and open the project of the DLL
> - Run the DLL from Vb6 by the Run > Start with full compile
> - add the vb6debug.dll in the 3dpart program
>
> but this way doesn't work.
>
> How I can debug this dll during the run of the 3dpart program?
>
> Doc