What happens when you use CoCreateInstance to create a managed code COM object from 64-bit unmanaged code.
I have a dll that wraps log4net providing a COM interface. I'm calling CoCreateInstance and it is returning a class not registered error. I've ran regasm on the dll and I see entries appearing in the register. I suspect this is some sort of 32/64 bit mismatch. I assumed that the managed dll is JIT'ed x64 when called from a 64 bit dll. Does anyone know what happens when creating a managed COM object from a 64 bit dll? Any advice on what to check, things seem to work with a 32 bit dll.
Thanks