Global Interface Table issue
-
Greetings All, I have a free threaded application with some 5 threads. In one of the threads I am creating an instance of IGlobalInterfaceTable and calling RegisterInterfaceInGlobal(..). It returns S_OK. If I unmarhsall this interface in the same thread somewhere down the line, it works properly. But when I create instance of IGlobalInterfaceTable in another thread, and call GetInterfaceFromGlobal(..), it returns me HRESULT of 0x8000FFFF which is Catastrophic failure. Can anyone help?
-
Greetings All, I have a free threaded application with some 5 threads. In one of the threads I am creating an instance of IGlobalInterfaceTable and calling RegisterInterfaceInGlobal(..). It returns S_OK. If I unmarhsall this interface in the same thread somewhere down the line, it works properly. But when I create instance of IGlobalInterfaceTable in another thread, and call GetInterfaceFromGlobal(..), it returns me HRESULT of 0x8000FFFF which is Catastrophic failure. Can anyone help?