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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AfxConnectionAdvise returns error

Status
Not open for further replies.

lothlor

Programmer
Oct 23, 2002
2
US
I have a simple Com client written in VC++, and a DCom Server running on Win2k. The client first starts the server and calls QueryInterface. This seems to be working, however when I call AfxConnectionAdvise, GetLastError is returning the error "An attempt was made to reference a token that does not exist". I saw one example where the person failed to call CoInitialize, however that is not the case here. Any input would be greatly appreciated.

thanks, deborah

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top