Blog

View Blog

Aug 13

Written by: b.kragl
8/13/2009 7:09 AM

Yesterday, it took me quite some time to find out, why a program couldn't access a registry value, since exactly the same code worked in a test program.

The problem was, that I'm running a x64 system and the program, for some reason, has platform target x86. After finding out, that there is regedit.exe (for the "x64 registry) and regedt.32.exe (for the "x86 registry") and adding the value also to the x86 registry, everythin worked fine.

So be careful with your target platform setting when accessing the windows registry!

Tags:

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment    Cancel  

Newsletter

Sie möchten im Newsletter über aktuelle technische Entwicklungen und Neuigkeiten rund um cubido informiert werden?

Newsletter abonnieren ...

Blog