[Bug 32779] RegOpenKeyExA fails on 64bit wine when build with lazarus (fpc 2.6 - 64bit)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 22 03:50:34 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=32779

--- Comment #1 from Rico <kgbricola at web.de> 2013-01-22 03:50:34 CST ---
Created attachment 43291
  --> http://bugs.winehq.org/attachment.cgi?id=43291
updated mingw64 to show the problem.

New mingw test case to show the problem, see
https://testbot.winehq.org/JobDetails.pl?Key=24062 which works on win, but
fails on wine.

#define HKEY_CURRENT_USER ((HKEY)(LONG_PTR)(LONG)0x80000001)

laz64:
fixme:reg:RegOpenKeyExA hkey1 0x80000001
fixme:reg:RegOpenKeyExA hkey2 0x80000001

mingw64:
fixme:reg:RegOpenKeyExA hkey1 0xffffffff80000001
fixme:reg:RegOpenKeyExA hkey2 0x30

So imho the HKEY_CURRENT_USER supplied by laz64 doesn't match the predefined
version in wine and thus it fails in get_special_root_hkey() -
http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/advapi32/registry.c#l270
.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list