[Wine]problem with delphi bde app

Rein Klazes rklazes at xs4all.nl
Tue Aug 17 09:52:27 CDT 2004

On Mon, 16 Aug 2004 11:08:54 +0200, you wrote:

> > Is it possible to put the complete log on the net? (bzip2 routinely
> > compresses wine logs to a few percent of their original size).
> > 
> Here I am again. I was offline during the weekend.
> Of course I can put the complete logs on the net.
> Here it is:
> +relay:
> http://www.ce3.pl/~jleszews/log.relay.bz2
> 1.2 MByte
> +all:
> http://www.ce3.pl/~jleszews/log.all.bz2
> 2.3MByte

There is definitely something strange here:

|0009:Call kernel32.FindFirstFileA(4065f170 "X:\\INMEM000.REM",4065f030) ret=4be0780d

search for the indicated file.

|0009:Ret  ntdll.RtlNtStatusToDosError() retval=00000012 ret=40269a3f
|0009:Ret  kernel32.FindFirstFileA() retval=ffffffff ret=4be0780d

This call fails. The error code 00000012 means ERROR_NO_MORE_FILES. In
other words the file is not found.

Shortly after it:

|0009:Call kernel32.CreateFileA(4065f054 "X:\\INMEM000.REM",c0000000,00000000,00000000,00000002,10000080,00000000) ret=4be055fe

Create or open file. The fifth parameter (00000002) means OPEN_ALWAYS.
Meaning that if the file does not exist it is created, if it does the
file will be overwritten.
|0009:Ret  kernel32.CreateFileA() retval=ffffffff ret=4be055fe
|0009:Call kernel32.GetLastError() ret=4be05773
|0009:Ret  kernel32.GetLastError() retval=00000050 ret=4be05773

Also this call fails. The error 00000050 means ERROR_FILE_EXISTS.

So first the file does not exist, then it does not, but that should not

Puzzling. What is the version of wine you are using? Can you have a look
at that file, look at permissions etc?

Rein Klazes
rklazes at xs4all.nl

More information about the wine-users mailing list