Using VBA to give an example of the question:
Set obj As Object
Set obj = CreateObject("COMlib.ClassA")
How does COM find with help of the registry where COMlib.dll is located?
What keys does COM look at and in what order to be able to create ClassA?
This is related to another question
COM & Late binding in Excel/VBA: ActiveX component can't create object