Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I've got a type library in a 32-bit Excel add-in app.

I need to translate the whole app to 64-bit.

enter image description here

I can't just copy paste the typelib, because the GUID's will clash with the already installed 32-bit app, ditto for the naming.
What's the best way to translate the application to 64 bit in a way that avoids name-clashes?

Or is there some mechanism that solves the name- and GUID-clashes automatically that I don't know about?

like image 497
Johan Avatar asked Mar 16 '12 14:03

Johan


1 Answers

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

like image 138
David Heffernan Avatar answered Sep 29 '22 07:09

David Heffernan