Hi guys, Mike Hearn asked me to send the work in progress stuff, so here it is (some stuff has been removed for legal reasons, so you can't run it in a debugger). Some of it sucks (See QueryServiceStatus for the worst hack ever, that doesn't even usually work), but the design should be more or less ok. It needs lots of cleanup and optimisation.
Ivan.
On Wed, 2005-06-01 at 21:32 +0200, Ivan Leo Puoti wrote:
Hi guys, Mike Hearn asked me to send the work in progress stuff, so here it is (some stuff has been removed for legal reasons, so you can't run it in a debugger). Some of it sucks (See QueryServiceStatus for the worst hack ever, that doesn't even usually work), but the design should be more or less ok. It needs lots of cleanup and optimisation.
Ivan.
I synced with CVS and applied your patch. I get a problem compiling dlls/ntdll/file.c:
make[2]: Entering directory `/home/storri/src/wine/dlls/ntdll' gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o file.o file.c file.c:68:36: wine/ntoskrnl_protocol.h: No such file or directory file.c: In function `NtCreateFile': file.c:145: error: `NTOSKRNL_CALL' undeclared (first use in this function) file.c:145: error: (Each undeclared identifier is reported only once file.c:145: error: for each function it appears in.) file.c:145: error: syntax error before "call" file.c:224: error: `call' undeclared (first use in this function) file.c:224: error: `GETDEVICEHANDLE' undeclared (first use in this function) file.c: In function `NtDeviceIoControlFile': file.c:885: error: `NTOSKRNL_CALL' undeclared (first use in this function) file.c:885: error: syntax error before "call" file.c:891: error: `IOCONTROL_CALL' undeclared (first use in this function) file.c:891: error: syntax error before "IoCall" file.c:892: error: `IOCONTROL_RET' undeclared (first use in this function) file.c:918: error: `call' undeclared (first use in this function) file.c:918: error: `IOCONTROL' undeclared (first use in this function) file.c:921: error: `IoCall' undeclared (first use in this function) file.c:934: error: `IoRet' undeclared (first use in this function) make[2]: *** [file.o] Error 1
Stephen
I synced with CVS and applied your patch. I get a problem compiling dlls/ntdll/file.c:
The problem was an operator error in failing to copy a file to the right location. I do get a real error, honest I do.
fixme:ntdll:NtCreateFile failing because of error c000000f fixme:file:CreateFileW Unable to create file L"\\.\Secdrv" (status c000000e)
This happens trying to play SSI Rites of War.
Stephen
Hi,
On Thu, Jun 02, 2005 at 07:45:25PM -0400, Stephen Torri wrote:
I synced with CVS and applied your patch. I get a problem compiling dlls/ntdll/file.c:
The problem was an operator error in failing to copy a file to the right location. I do get a real error, honest I do.
fixme:ntdll:NtCreateFile failing because of error c000000f fixme:file:CreateFileW Unable to create file L"\\.\Secdrv" (status c000000e)
This happens trying to play SSI Rites of War.
ntstatus.h: #define STATUS_NO_SUCH_DEVICE 0xC000000E #define STATUS_NO_SUCH_FILE 0xC000000F
Andreas Mohr
Stephen Torri wrote:
I synced with CVS and applied your patch. I get a problem compiling dlls/ntdll/file.c:
The problem was an operator error in failing to copy a file to the right location. I do get a real error, honest I do.
fixme:ntdll:NtCreateFile failing because of error c000000f fixme:file:CreateFileW Unable to create file L"\\.\Secdrv" (status c000000e)
This happens trying to play SSI Rites of War.
This is normal, actually expected, safedisc open it just in case it's already running. Anyway, run the game once, you should get a crash. Then run it again immediately and you should get a splash screen if all goes well. Turn the ntoskrnl debug channel on just in case.
Ivan.