mardi 2 août 2016

read 64 and 32 bits registry key at the same time from a 32 application

I have a 32bits application that must read resigtry information about an other application whitch might be a 64bits or a 32bits application. The problem is that I have to check in the both regisry 64 and 32. Is there any other possibility to do that rathter than call 2 times the function "RegOpenKeyEx" 1 time using the mask "KEY_WOW64_32K" and then if failed to open use the the mask "KEY_WOW64_64K" ?

Aucun commentaire:

Enregistrer un commentaire