Detecting when a Client attaches to my OLE/COM server

  • Thread starter Thread starter GRudy
  • Start date Start date
G

GRudy

Guest
We have an OLE/COM server application that exposes a rather large API to users. I really need to know when an API attaches and releases the server. For example knowing when someone attaches by calling GetObject( ) on our interface. I'm thinking that I need to override the default/automatic IUnknown interface AddRef() and Release() methods, however I'm not quite sure how to do that. Maybe this is the wrong approach and there is another way.

Continue reading...
 
Back
Top