[BLACKBOX] AW: [BLACKBOX] Trouble with Windows 7 Professional 64 Bit but not with 32 Bit

From: [at]} <Helmut>
Date: Tue, 9 Oct 2012 14:31:10 +0200


Dear Koen,

 

thank you for the quick response. Your answer solves this problem.

 

There is a similar problem with enumerate all keys. The website says it should be done with two passes.

Do have a solution for it too?

 

Regards

Helmut Zinn

 

Von: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
Gesendet: Dienstag, 9. Oktober 2012 12:42
An: BLACKBOX{([at]})nowhere.xy
Betreff: Re: [BLACKBOX] Trouble with Windows 7 Professional 64 Bit but not with 32 Bit

 

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

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Tue Oct 09 2012 - 14:31:10 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:55 UTC