I have a messy situation wrapping a couple of 3rd party COM components. Actually it's one COM component and several .NET assemblies. The .NET assemblies in turn depend on the same 3rd party's internal COM component. When I have the COM DLLs registered, my code works fine (right now I'm testing from C#). When I don't, it fails. What's the best way to debug that?
I generated the SxS manifest by adding a reference to the COM components, setting Isolated=true, then extracting the resulting comClass elements from the manifest into my own SxS manifest. Also, it seems to create an Interop.XXX.dll file: what is that for?
Some example error messages:
"Retrieving the COM class factory for component with CLSID {012A4BEB-99EC-4A65-A4AF-7D09A20B5034} failed due to the following error: 80040154."
"HSREADWRITELib::ReadWriteData, CreateInstance"