> I can't find CLSCTX_ALL in MSDN. Have you tried calling CoCreateInstance
> directly using
> CLSCTX_LOCAL_SERVER  to see if that works?

(CLSCTX_ALL = CLSCTX_SERVER + some other one I can't remember)

Yes - I first tried the long method starting with CLSIDFromProg() and going
through to QueryInterface() on the class factory to get my own interface.

CoCreateInstance() (with LOCAL_SERVER) succeeded for the class factory, but
not directly for IFoo - it came back E_NOINTERFACE. Similarly, if I tried
QueryInterface() from the class factory that also said E_NOINTERFACE. No
idea why since IFoo is there!

Why are these things so <censored> complicated???


--
Jason Teagle
[EMAIL PROTECTED]




Reply via email to