Versions of COM Object Windows

I am developing two applications that have a .NET4 assembly with the same name, a different version. This assembly provides some COM objects. Is it possible to install both applications and support COM objects of both assemblies?

I have good experience with .NET assemblies, but not a lot of COM. Thanks in advance for helping the neophyte.

+4
source share
1 answer

COM execution is performed at a low level by controlling the version of the interfaces and changing the CLSID (AND IIDs of any changed interfaces). The control's progID is also versioned by adding a .version number. Obviously, installation paths should be different.

For example, to download Internet explorer as a web control, you can create a shell.explorer object to create the latest version of shell.explorer.1, shell.explorer.2, etc. The versions of the shell.explorer control registered in different CLSIDs are the same VersionIndependentProgID tho file, so when the application tries to create an inactive ProgID, it gets the latest version.

+4
source

All Articles