If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Debugging a COm+ Application

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-30-02, 17:56
mvargasp mvargasp is offline
Registered User
 
Join Date: Aug 2002
Posts: 25
Exclamation Debugging a COm+ Application

Hi all,

How can I debug a (VB 6.0) COM+ application?

Thanks in advanced

God Bless
Reply With Quote
  #2 (permalink)  
Old 11-02-02, 12:37
fhunth fhunth is offline
Registered User
 
Join Date: Oct 2002
Location: Argentina
Posts: 72
Try this way:

Open two vb instances

open the +com project and run it


on the other vb instance open the project to test the com object

In the references of your test project , you'll see the com instance, so reference to it.



put a breakpoint in the line you are creating the com object so that you can go on running step by step (F8)



Hope this help you.
Reply With Quote
  #3 (permalink)  
Old 11-05-02, 09:16
mvargasp mvargasp is offline
Registered User
 
Join Date: Aug 2002
Posts: 25
Hi all,
I did what you said to me but an error occurs.
I have a COM+ app and a test app opened in separate instances of VB 6.0. When I try to debug my COM+ app (running it over an instance of VB and running the test app on another instance of VB step by step) I get the error:

"Error 430: Class does not support Automation or does not support expected interface"

But when I run only the test app everything works fine. I'm not using ADO. What's the matter? Is there another way to debug a COM+ App?

Thanks
Reply With Quote
  #4 (permalink)  
Old 11-29-02, 07:38
gjallenuk gjallenuk is offline
Registered User
 
Join Date: Jun 2002
Posts: 18
Try opening both projects under the same VB instance and debuggin as previously stated..
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On