tags:

views:

12

answers:

0

I have COM DLL that compiled in x32(the server side). I registered it and tried to use the function CoGetClassObject with client that works in x32 for getting the IClassFactory.

Hr = CoGetClassObject(CLSID_IOrbCom, CLSCTX_INPROC_SERVER, 0 , IDD_IClassFactory, (LPVOID*)&ClassFactory)

the result with client x32 was fine and everything works well.

But when I tried to use the CoGetClassObject in x64 client I received failed error "Class not registered".

P.S. Restriction: - I can only compiled the COM server with x32. - My OS is XP 64bit.