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.
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.