I'm trying to figure out how you can get an instance of a particular interface from a dll without knowing the registered CLSID GUID of that dll's COM object. Like, have the application look for dll files in a directory, probably try to call DllGetClassObject just to see if they implement a COM object, but then... is there any way to get the CLSID implemented by a COM In Process Server/Dll file??
I can't seem to even get a handle to anything without knowing the CLSID first. And beyond that I can't even typecast the returned interface object to the interface I want!!
Any thoughts would be helpful, or heck... anyone know where I could find code that can search the registry?