This is a bit of a long shot but does anyone know how to replace the implementation of a COM class at runtime (or, if it is actually possible)?
My problem is that we have a COM DLL out there in the wild but we aren't completely sure which version it is and we don't want to have to do a complete rebuild of the software just to replace this one component. There is a single line fix that needs to be deployed and what would be great is if I could simply write another COM DLL or something similar that just replaces that class, and then force the COM runtime to point at that DLL file just for that class.
I've had a look at the OLE/COM Object Viewer and there are options for changing the implementation but I've no idea how to configure it properly as it doesn't seem to do very much.
If anyone has any information (even a "nope, not possible" answer which I suspect is the case) that would be excellent.
Cheers, Dan.