views:

46

answers:

1

Whenever I put my component into COM+ and call CoCreateInstance() on the client the following happens:

  • the runtime instantiates the objecs (calls IClassFactory::CreateInstance())
  • the runtime calls QueryInterface() for the interface specified in teh CoCreateInstance() call
  • the runtime calls QueryInterface() for IdentityUnmarshal interface ({0000001b-0000-0000-c000-000000000046})

The only thing I can find is the declaration in comdef.h that there exists IdentityUnmarshal interface with that interface id. Is there any more information on it?

+1  A: 

If I remember it correctly you may query for IdentityUnmarshal interface to define if you are dealing with proxy or not. If result is S_OK, then Proxy.

Update: check out this discussion

BostonLogan

related questions