How to read the 64 bit registry from a 32 bit application or vice versa | Rhyous

I was recently trying to update a 32-bit migration utility running on Win7 64 that needs to cleanup some registry entries in the 64 and 32 bit registry HKLM hives. Unfortunately accessing the 64-bit hive was not as obvious as I expected. Came across this article which explains how to tackle this issue.

How to read the 64 bit registry from a 32 bit application or vice versa | Rhyous.