a COM object is registered to the system via a bunch of informaion - stuff like the GUID, ProgId etc. TypeLibs also have a 'version' field which a) can be written to the registry and b) are inside the idl. My question now is - is the version field somehow checked by the system while using/ initating the COM object. E.g. if I create a new version of my COM Object without changeing the GUID but with incrementing the version number does this lead to any kind of inconsistency?
The reason for not changing the GUID but incrementing the version number would be bug fixes in the typelib without touching the interface.
CoCreateInstance
. But you clearly intend to shut down any running client (you can't overwrite a DLL while in use). – MSalters