At 08:30 +0200 03.6.12, Fabian Cenedese wrote:>What about the place where the program lies?
~/c/Garmin
>Some progs want to create
>files in the same dir where they are.
The directory is OK for creating files for wine.
>You'd need to
>make traces e.g. +file to see the exact commands and places.
I can not find *SMARTTEMP*.* in messages.
% wine --debugmsg +file MapSource
trace:file:FILE_DoOpenFile reg.dat OF_READ OF_SHARE_COMPAT
trace:file:FILE_DoOpenFile reg.dat 0000
warn:file:FILE_DoOpenFile 'reg.dat' not found or sharing violation
warn:file:FILE_DoOpenFile (reg.dat): return = HFILE_ERROR error= 2
warn:file:FILE_CreateFile Unable to create file
'/usr/local/etc/wine.userreg' (GLE 2)
warn:file:FILE_CreateFile Unable to create file
'/usr/local/etc/wine.systemreg' (GLE 2)
trace:file:CreateFileW L"C:\\Garmin\\MapSource.exe" GENERIC_READ
FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x18
trace:file:SetFilePointer handle 0x18 offset 0 high 0 origin 0
trace:file:ReadFile 0x18 0xbfffe730 64 0xbfffe6cc (nil)
trace:file:SetFilePointer handle 0x18 offset 280 high 0 origin 0
trace:file:ReadFile 0x18 0xbfffe6c8 4 0xbfffe6cc (nil)
trace:file:ReadFile 0x18 0xbfffe710 20 0xbfffe6cc (nil)
trace:file:CreateFileW L"C:\\Garmin\\sxl.dll" GENERIC_READ
FILE_SHARE_READ
OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x1c
trace:file:CreateFileW L"C:\\windows\\system\\MSVCP60.DLL"
GENERIC_READ
FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x30
trace:file:CreateFileW L"C:\\windows\\system\\msvcrt.dll" GENERIC_READ
FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x34
trace:file:CreateFileW L"C:\\windows\\system\\mfc42.dll" GENERIC_READ
FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x1c
trace:file:CreateFileW L"C:\\WINDOWS\\SYSTEM\\MFC42LOC.DLL"
GENERIC_READ
FILE_SHARE_READ OPEN_EXISTING attributes 0x0
warn:file:CreateFileW Unable to get full filename from
L"C:\\WINDOWS\\SYSTEM\\MFC42LOC.DLL" (GLE 2)
trace:file:CreateFileW L"C:\\Garmin\\WorldMap301.tdb" GENERIC_READ
FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING attributes 0x80
trace:file:CreateFileW returning 0x60
trace:file:ReadFile 0x60 0x40b52e38 4096 0x406824f0 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682360 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682310 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682354 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682310 (nil)
trace:file:ReadFile 0x60 0x40b52e38 4096 0x40682360 (nil)
trace:file:CreateDirectoryW (L"E:\\",(nil))
warn:file:CreateDirectoryW Error 'File exists' trying to create
directory
'/tmp'
trace:file:CreateDirectoryW (L"E:\\",(nil))
warn:file:CreateDirectoryW Error 'File exists' trying to create
directory
'/tmp'
trace:file:CreateDirectoryW (L"E:\\MapSource\\",(nil))
warn:file:CreateDirectoryW Error 'File exists' trying to create
directory
'/tmp/MapSource'
trace:file:CreateFileW L"E:\\MapSource\\MapSource.log" GENERIC_WRITE
FILE_SHARE_READ FILE_SHARE_WRITE OPEN_ALWAYS attributes 0x80
trace:file:CreateFileW returning 0xf4
trace:file:SetFilePointer handle 0xf4 offset 0 high 0 origin 2
trace:file:SetFilePointer handle 0xf4 offset 0 high 0 origin 2
trace:file:WriteFile 0xf4 0x40681d68 138 0x40682170 (nil)
%
>What if you run it on Windows, can you see anywhere a file like
>*SMARTTEMP*.*?
Sorry, I do not have Windows.
--
/ / / __ __/ Himeji Institute of Technology
____ / / / Hitoshi Sakagami
_/ _/ _/ _/ sakagami@comp.eng.himeji-tech.ac.jp
http://wwwj2.comp.eng.himeji-tech.ac.jp/home/sakagami/