http://bugs.winehq.org/show_bug.cgi?id=2797
------- Additional Comments From KenJackson@ieee.org 2005-16-03 11:29 ------- Thank you for attemting a fix so quickly.
I checked out wtsapi32.c, wtsapi32.spec, and wtsapi32.h, ran 'make' in the dlls\wtsapi32 directory, installed the resulting wtsapi32.dll.so, and commented out my additions to my wine config file.
Now the program, chc08.exe, runs without crashing, but generates a superfluous error. Here are the relevant lines of output, which do not occur when I use the native .DLL:
fixme:wtsapi:WTSEnumerateSessionsA Stub (nil) 0x00000000 0x00000001 0x40d4ea6c 0x40d4ea74 H:\prj\jbox\jbox.c(884): ERROR C5300: Limitation: code size > 1024 bytes