简体   繁体   中英

Registration-free COM/DLL with multiple versions of the same typelib (SxS)

In the question below, has a very nice instruction on how to make a Delphi use ActiveX controls in a registration free manner.

Registration-free COM/DLL?

But I have an additional question - can this also be used to support multiple versions of the same COM-object as independent objects? I think .NET can, but we need it in our Win32 application.

The reason is that we use a third party component, which has only one interface (GUID) but has different behavior (calculations) based on the version of the dll.

通过为每个版本使用单独的激活上下文,可以在同一进程中使用 COM/SxS 库的多个版本。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM