W

X

Tuesday, November 18, 2008

x64 to x86 Symbolic Registry Link

After 16 hours of research and testing, I discovered that a symbolic link can be created between two registry keys. This helps to solve the issue with having some x64 and x32 bit programs that need to share the same registry keys.

A symbolic link can be created between HKLM\Software\Weather Message Net and HKLM\Software\WOW6432Node\Weather Message Net

This symbolic link means that x64 programs will see the settings in "WOW6432Node" and x86 programs will see the settings in the regular key.

This is a great find is was not too difficult to implement. I now need to update the installers with the code necessary to create the link. (The code is now written and tested. I just need to update the installers.)

Once the installer is working, I can go back and recompile the programs as x64 or x86 as appropriate and they will work properly on a x64 system. This will allow the x64 programs to run as native x64 applications.

No comments: