Jump to content
Sign in to follow this  
MariusN

32bit/64bit question

Recommended Posts

MariusN

This is not an issue, just a small question of interrest..

I have compiled a 32bit utility that started 100% in Win7 64bit, but did not want to impliment the instruction ( to change a certain registry-entry).

I then took the .au3 and converted it to 64bit, and the instruction(s) ( to change certain settings in the registry ) worked 100%

Any ideas why Win7 64bit would refuse a 32bit utility "instruction" regarding registry-change, even though the 32bit program DID open?

Share this post


Link to post
Share on other sites
Andreik

Maybe because there is a different registry path.

When running on 64-bit Windows if you want to write a key or value specific to the 64-bit environment you have to suffix the HK... with 64 i.e. HKLM64.


When the words fail... music speaks

Share this post


Link to post
Share on other sites
MariusN

Maybe because there is a different registry path.

...weird....i didnt change ONE bit of code and it worked on 64-bit registry...lol

PS: and i also didnt specify "64"...but it could be because i didnt shorten my hive..i wrote HKEY_LOCAL_MACHINE, instead of HKLM...

Edited by MariusN

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×