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!

class not registered

Status
Not open for further replies.

AliAndAli

Programmer
Aug 3, 2002
27
US
I have an MFC application with a new ATL Object inserted in it. I have a client running remotely on another machine. If I start the server manually, CoCreateInstanceEx call from client succeeds and everything works fine. But if I don't start the server, CoCreateInstanceEx can not start it dynamically and fails with the error "class not registered".

I register the class in the server code by calling RegisterClassObjects. Anybody knows how can I invoke this server dynamically (As I mentioned the server was created using MFC exe application wizard)

Thank you for taking the time to answer my question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top