Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdT dword registry value is 8 bytes long (Win7/64) #30

Closed
B00ze64 opened this issue Mar 19, 2016 · 5 comments
Closed

UpdT dword registry value is 8 bytes long (Win7/64) #30

B00ze64 opened this issue Mar 19, 2016 · 5 comments
Labels

Comments

@B00ze64
Copy link

B00ze64 commented Mar 19, 2016

Title says it all :-)
The DWORD value UpdT is in fact 8 bytes long under Win7/64.
T-Clock Redux v2.4.0ß.
Regards,

@White-Tiger
Copy link
Owner

it's a QWORD, what did you try to say?

@B00ze64
Copy link
Author

B00ze64 commented Mar 20, 2016

It's typed as a DWORD. Either you are pushing 4 extra bytes into it, or you wrongly specify the value as a DWORD when you create it. Look at it with regedit, you'll see it complains about it...

@White-Tiger
Copy link
Owner

shot00862
hmm... now I see what you mean... Just what the hell Microsoft...
I've tested all those functions, and they did what I wanted them to (even though the writing code was wrong, yet the reading one is correct.. but still seemed to work even though it actually checks for QWORD)

I didn't know Windows would simply store anything you're passing...

Anyway.. will be fixed when I've got time to continue working on T-Clock (there are a lot local changes already)

@B00ze64
Copy link
Author

B00ze64 commented Mar 22, 2016

Lol, amazing isn't it, we tell it to please create a 4 byte value, then give it 8 bytes and it doesn't say a word, stores all 8 bytes in the database ;-) No rush on fixing, it works regardless. In the meantime, I discovered we can create a INI file and share settings between accounts, because you included a BAT that creates an empty INI file hehe, so that's what I use now - this way Administrator and my normal user account both share the settings without me having to export the registry between users :-) Thanks!

@White-Tiger
Copy link
Owner

for the sake of completeness.. this issue was originally reported here: http://donationcoder.com/forum/index.php?topic=21944.msg396909#msg396909

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants