Dmitry Timoshkov wrote:
"Erik de Castro Lopo" <mle+win(a)mega-nerd.com> wrote:
In include/winuser.h we have:
#if !defined _WIN64 && !defined __WINESRC__ # define GWL_USERDATA (-21) # define GWL_ID (-12) # define GWL_HWNDPARENT (-8) # define GWL_HINSTANCE (-6) # define GWL_WNDPROC (-4) # define DWL_MSGRESULT 0 # define DWL_DLGPROC 4 # define DWL_USER 8 #endif /* _WIN64 && __WINESRC__ */
which means fixing the test requires first finding out the correct values of these defines under _WIN64.
winuser.h already has the correct values for _WIN64.
I has _WIN64, but if _WIN64 is defined then GWL_WNDPROC is undefined and the test in dlls/user32/tests/edit.c fails to compile.
I assume that you have all other problems sorted out? (compiler support, TLS layout, calling conventions, other ABI incompatibilities).
I'm sure I haven't, but if the wine code doesn't compile I can't debug any problems in these areas. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "In civilian equipment, such as computers, the number of components alone makes miniaturization essential if the computer is to be housed in a reasonable-sized building." Electronics Oct. 1, 1957, p. 178