How to get the IDispatch* from a specified OLE server instance?
COM
1
Posts
1
Posters
1
Views
1
Watching
-
Hi Guys, My application is needed to connect to another application that supports automation( like Word, Exec), but the problem is: When I start my application, the application I want to connect may have many running instances, if I use the ProgID to get the ClassID and create a DispatchDriver by that ClassID, I always get the IDispatch* from the first started instance. Do you guys know anything about how to do that and kindly give me some ideas? :cool: