how to transfer Interface Pointer?
COM
1
Posts
1
Posters
0
Views
1
Watching
-
First client creates an instance of a remote COM object via CoCreateInstanceEx, then calls one of its method remotely. In that method, assume Checker(), some information of the client is checked to see if he has the right to access things on Server further. If OK, the Checker() will create an instance of another COM object named CoreServer, and transfer the pointer to one of its Interface back to Client. How can I finish the procedure with DCOM library? I think there maybe 3 ways for the Checker() to create and transfer: 1.CoCreateInstance 2.CoCreateInstanceEX 3.Moniker but no way seems work :confused: please help me, thanks.