How to transfer 32-bit typelib to a 64-bit project (while preventing nameclashes)

I have a type library in a 32-bit Excel add-in application.

I need to convert the entire application to 64-bit.

enter image description here

I canโ€™t just copy the typelib insert, because the GUID will encounter an already installed 32-bit application, i.e. for naming.
What is the best way to translate an application to 64-bit so as to avoid name conflicts?

Or is there some kind of mechanism that automatically resolves names and GUID collisions that I don't know about?

+6
source share
1 answer

32 and 64-bit COM servers are registered in different registry views. Thus, 32-bit processes and 64-bit processes exist in disjoint GUID namespaces. In other words, you are using the same GUID for both 32-bit and 64-bit versions. The registry redirector does the rest.

+11
source

Source: https://habr.com/ru/post/910913/


All Articles