Foxpro File Copying causes Invalid Name warning

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
whoisterencelee
Newbie
Newbie
Posts: 1
Joined: Wed Aug 17, 2011 4:05 am

Foxpro File Copying causes Invalid Name warning

Post by whoisterencelee »

Using foxpro database application which should copy some files L1_*.dbf from a server location to the local c:\TEMP directory, but just get invalid name, perhaps I am not setting something correctly in winecfg?

Here is WINEDEBUG output:

001b:Ret KERNEL32.WriteFile() retval=00000001 ret=7ea97433
001b:Call KERNEL32.FindNextFileW(001aabb0,0034dddc) ret=7ea937b6
001b:Ret KERNEL32.FindNextFileW() retval=00000001 ret=7ea937b6
001b:Call KERNEL32.GetFileAttributesW(0034e234 L"C:\\TEMP\\L1_*.*") ret=7ea9374f
001b:warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TEMP\\L1_*.*" not found (c0000033)
001b:Ret KERNEL32.GetFileAttributesW() retval=ffffffff ret=7ea9374f
001b:Call KERNEL32.CopyFileW(0034e02c L"Z:\\mnt\\drive_h\\l1vfp0\\L1_ATTN.DBF",0034e234 L"C:\\TEMP\\L1_*.*",00000000) ret=7ea93799
001b:warn:ntdll:FILE_CreateFile L"\\??\\C:\\TEMP\\L1_*.*" not found (c0000033)
001b:warn:file:CreateFileW Unable to create file L"C:\\TEMP\\L1_*.*" (status c0000033)
001b:warn:ntdll:FILE_CreateFile L"\\??\\C:\\TEMP\\L1_*.*" not found (c0000033)
001b:warn:file:CreateFileW Unable to create file L"C:\\TEMP\\L1_*.*" (status c0000033)
001b:warn:file:CopyFileW Unable to open dest L"C:\\TEMP\\L1_*.*"
001b:Ret KERNEL32.CopyFileW() retval=00000000 ret=7ea93799
001b:Call KERNEL32.FormatMessageW(00001100,00000000,0000007b,00000000,00349db4,00000000,00000000) ret=7ea9746e
001b:Ret KERNEL32.FormatMessageW() retval=0000000e ret=7ea9746e
001b:Call KERNEL32.GetStdHandle(fffffff4) ret=7ea974b1
001b:Ret KERNEL32.GetStdHandle() retval=00000014 ret=7ea974b1
001b:Call KERNEL32.lstrlenW(00132f58 L"Invalid name\r\n") ret=7ea974bc
001b:Ret KERNEL32.lstrlenW() retval=0000000e ret=7ea974bc
001b:Call KERNEL32.WriteConsoleW(00000014,00132f58,0000000e,00349d74,00000000) ret=7ea97367
001b:Ret KERNEL32.WriteConsoleW() retval=00000000 ret=7ea97367
001b:Call KERNEL32.GetConsoleOutputCP() ret=7ea973f0
001b:Ret KERNEL32.GetConsoleOutputCP() retval=000003b6 ret=7ea973f0
001b:Call KERNEL32.WideCharToMultiByte(000003b6,00000000,00132f58 L"Invalid name\r\n",0000000e,001bd028,0000ffff,7ea9bc30,00349d70) ret=7ea97410
001b:Ret KERNEL32.WideCharToMultiByte() retval=0000000e ret=7ea97410
001b:Call KERNEL32.WriteFile(00000014,001bd028,0000000e,00349d74,00000000) ret=7ea97433
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Foxpro File Copying causes Invalid Name warning

Post by vitamin »

whoisterencelee wrote:001b:Call KERNEL32.CopyFileW(0034e02c L"Z:\\mnt\\drive_h\\l1vfp0\\L1_ATTN.DBF",0034e234 L"C:\\TEMP\\L1_*.*",00000000) ret=7ea93799
Something doesn't expand correctly file glob (*.*) before it's passed to other functions. Could be FindNextFileW() doesn't do something right.

Please file a bug in bugzilla.
Locked