Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debugging a com application.

Status
Not open for further replies.

AliAndAli

Programmer
Aug 3, 2002
27
US
When using DCOM and client server on two separate machine, I can start the server in the debugger and set some break points. Then when I start the client, when client makes a request to the server, the server process stops at the break points and I can debug the server. The same procedure does not work when I use COM (CoCreareInstance rather than CoCreateInstanceEx, when both client and server are on the same machine. The debugger does not stop at the break points. Anybody knows why?
Thx
 
In case anybody ran into this problem, go to your server project and in project setting - debug, set the excutable to be the client.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top