Debugging a C++ DLL called from a VB application

Forum: ProgrammersTotal Replies: 3
Author Content
SpreadWord

Feb 07, 2003
6:56 PM
Does anyone know if it is possible to debug an application written in Visual Basic 6.0, and step right into the debugger for a DLL written in Visual C++?

Thanks,
Mike
coderfrommaine

Feb 10, 2003
12:52 PM
Mike,

I don't have an answer to your question, but I wanted to say "Hi". It sounds like you have a fun job! I have always thought that phone systems would be neat to work on.

Hope you get an answer!

Alex
sdmorr

Mar 04, 2003
8:57 PM
Hi Mike,

I know this is an older post, but in case you haven't found your answer yet, here is what I can add. I don't do much with VB but I have used VC++ quite a bit.

If you have Visual C++ installed, you should debug it from that side. When you have a project loaded in Visual Studio that is a DLL, you have to specify the .exe that you want to run when using the debugger. You should be able to specify your VB app as that executable. By running it through the VC++ debugger, you should be able to set break points and watch variables or whatever based on the stimulus from your VB app.

Hope this Helps,
Scott

SpreadWord

Mar 05, 2003
5:11 PM
Will this let you step through both the VB program, as well as the C++ program?

Posting in this forum is limited to members of the group: SITEADMINS, SUBSCRIBERS, MEMBERS.]

the Open Forums!

  Login
If you don't have an account yet, visit the registration page to sign up.

If you already have an account, you may login here:

Username: Password:

  Welcome to the Open Forums!!
Welcome to the Open Forums!!

  Hosted By...

This website is hosted by:

 -
PreparingSons
 - Titus2.com


[ Copyright © the Open Forums! | All times are recorded in ET ]

[ Contact Us ]

Login

Powered by Scif 5.3 build 285 by StandardOut, Inc.