"Unable to open file..."
gerard patel
nomailthankyoug.patel at wanadoo.fr
Sat Feb 10 04:15:44 CST 2001
On Sat, 10 Feb 2001 04:28:12 GMT, bhalco at my-deja.com wrote:
<snip>
>Call kernel32.158: CreateFileA(2b94a92c "C:\\Program Files\\
> 2nd Story Software\\TaxACT 2000\\2000 Tax Return File.ta0",
> c0000000,00000003,2b3269ac,00000003,00000080,00000000) ret=004c1cbc
c000000 = R/W access
00000003 = File share read/write
security attributes (2b3269ac) not null ? this should be used
only with NT. Not supported by Wine.
-> Maybe try to launch Wine with -winver win95
00000003 = OPEN_EXISTING
Your app expects to find an already existing file.
00000080 =normal file
>trace:string:lstrcpynA (0x2b325fb8, "/mnt/DOS_hda2", 1024)
>Ret kernel32.158: CreateFileA() retval=00000074 ret=004c1cbc fs=008f
The call succeeds; else the return would be ffffffff.
>Call kernel32.332: GetFileType(00000074) ret=004ac727 fs=008f
>Ret kernel32.332: GetFileType() retval=00000001 ret=004ac727 fs=008f
Returns that's a disk file. Unlikely to be the problem.
Checking that is unusual; maybe it's trying to find if the file is
not a remote (network) file for security reasons (?)
> ReadFile(00000074,2b95eb78,00001000,2b326948,00000000) ret=004b28a0
> fs=008f
>Ret kernel32.577: ReadFile() retval=00000001 ret=004b28a0
>fs=008f
It's trying to read...
Maybe the file has been corrupted by Wine ? Is it different after
a fresh install ? Under windows ?
>Is that better? If I've erred by trimming the critical section stuff,
>next time I'll post the whole mess.
No thanks, it's useless most of the time.
You can save yourself the bother of cutting them by using
-relay=RtlEnterCriticalSection:RtlLeaveCriticalSection:InitializeCriticalSection:RtlDeleteCriticalSection
Gerard
More information about the wine-users
mailing list