Hello Helmut,
The problem can be solved by specifying in RegOpenKeyExW that you are accessing a 64bit registry from a 32bit program.
CONST sam = WinApi.KEY_QUERY_VALUE + BITS(100H);
More info here <
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724072%28v=vs.85%29.aspx> and here <
http://msdn.microsoft.com/en-us/library/windows/desktop/aa384129%28v=vs.85%29.aspx> .
Best regards;
Koen.
PS I have been working on Xy lately - do you want a preview?
2012/10/9 Helmut Zinn <feedback{([at]})nowhere.xy
Dear BB Users,
I work with BlackBox since 15 years
and with Windows 7 Professional 32 Bit since 4 years successfully.
3 month ago I changed to Windows 7 Professional 64 Bit and the trouble starts.
My subsystems Dos & Benchmark don’t work well any more.
Now I isolate my first problem in a small test program (see below).
This program works with 32 bit but not with 64 bit.
Does someone know how to solve this problem?
With best regards
Helmut Zinn
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Tue Oct 09 2012 - 12:41:33 UTC