Hi,
I use software that is supposed to access hardware using the ASPI layer. But
whenever I open the software I get the error: could not acces the device.
Precisely the same message one gets, when the aspi layer isn't installed in
Windows.
Looking at what I get with "wine -debugmsg +file" I don't see any wnaspi32.dll
or similar loaded. Without the debug on, I get errors like:
fixme:file:LockFile not implemented in server
fixme:file:UnlockFile not implemented in server
What do they mean? Are they harmful? What file do they try to lock?
I've attached as well the debug log.
[scsi c0t5d0]
"Device"="/dev/sg4"
and the device is accessible. But shouldn't the dll be loaded in first place?
Why does the software not load the dll?
Any suggestions welcome.
Norman
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
trace:file:CreateFileW L"C:\\Program Files\\Nikon\\NkScan30\\Nikon Scan.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 0xbfffeabc 64 0xbfffea58 (nil)
trace:file:SetFilePointer handle 0x18 offset 264 high 0 origin 0
trace:file:ReadFile 0x18 0xbfffea54 4 0xbfffea58 (nil)
trace:file:ReadFile 0x18 0xbfffea9c 20 0xbfffea58 (nil)
trace:file:CreateFileW L"C:\\Program Files\\Nikon\\NkScan30\\NSLang.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x1c
trace:file:CreateFileW L"C:\\WINDOWS\\system\\mfc42.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:\\Program Files\\Nikon\\NkScan30\\Asteroid.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x1c
trace:file:CreateFileW L"C:\\Program Files\\Nikon\\NkScan30\\Strato2.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x30
trace:file:CreateFileW L"C:\\WINDOWS\\system\\MSVCP60.DLL" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x3c
trace:file:CreateFileW L"C:\\Program Files\\Nikon\\NkScan30\\StdFilters.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x1c
trace:file:CreateFileW L"C:\\Program Files\\Nikon\\NkScan30\\CML3.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x30
trace:file:CreateFileW L"C:\\WINDOWS\\system\\Mfc42loc.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x60
trace:file:CreateFileW L"C:\\WINDOWS\\Twain_32\\Nikon\\Nikon Scan 3.0\\Nikon Scan.ds" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x64
trace:file:CreateFileW L"C:\\WINDOWS\\Twain_32\\Nikon\\Nikon Scan 3.0\\DRAGNKL1.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x6c
trace:file:CreateFileW L"C:\\WINDOWS\\Twain_32\\Nikon\\Nikon Scan 3.0\\NSSLang.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x6c
trace:file:CreateFileW L"C:\\WINDOWS\\tst8906.tmp" GENERIC_WRITE CREATE_NEW attributes 0x80
trace:file:CreateFileW returning 0x74
trace:file:FILE_GetTempFileName created L"C:\\WINDOWS\\tst8906.tmp"
trace:file:FILE_GetTempFileName returning L"C:\\WINDOWS\\tst8906.tmp"
trace:file:CreateFileW L"C:\\WINDOWS\\tst8906.tmp" GENERIC_READ GENERIC_WRITE CREATE_ALWAYS attributes 0x4000080
trace:file:CreateFileW returning 0x74
trace:file:CreateFileW L"C:\\WINDOWS\\Nikon Scan.tmp" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_ALWAYS attributes 0x80
trace:file:CreateFileW returning 0x74
trace:file:CreateFileW L"C:\\WINDOWS\\TWAIN_32.DLL" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x8c
trace:file:CreateFileW L"C:\\WINDOWS\\FILELOCK.TMP" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
trace:file:CreateFileW returning 0x8c
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 0
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 1
fixme:file:LockFile not implemented in server
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 0
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 1
fixme:file:UnlockFile not implemented in server
trace:file:DeleteFileW L"C:\\WINDOWS\\FILELOCK.TMP"
trace:file:CreateFileW L"C:\\WINDOWS\\TWAIN.LOG" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/TWAIN.LOG' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\Twain001.Mtx" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twain001.Mtx' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\Twain001.Mtx" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twain001.Mtx' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\Twunk002.MTX" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twunk002.MTX' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:FILE_DoOpenFile C:\WINDOWS\Twain_32\Nikon\Nikon Scan 3.0\Nikon Scan.ds OF_READ OF_SHARE_COMPAT OF_EXIST
trace:file:FILE_DoOpenFile C:\WINDOWS\Twain_32\Nikon\Nikon Scan 3.0\Nikon Scan.ds 4000
trace:file:FILE_DoOpenFile found /home/baier/bin/windows/WINDOWS/Twain_32/Nikon/Nikon Scan 3.0/Nikon Scan.ds = L"C:\\WINDOWS\\TWAIN_32\\NIKON\\NIKO~L5T.0\\NIKO~CX2.DS"
trace:file:GetFileInformationByHandle 0x8c
trace:file:FILE_DoOpenFile (C:\WINDOWS\Twain_32\Nikon\Nikon Scan 3.0\Nikon Scan.ds): OK, return = 0x8c
trace:file:CreateFileW L"C:\\WINDOWS\\Twain001.Mtx" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twain001.Mtx' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\TWAIN_32.DLL" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x8c
trace:file:CreateFileW L"C:\\WINDOWS\\FILELOCK.TMP" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
trace:file:CreateFileW returning 0x8c
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 0
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 1
fixme:file:LockFile not implemented in server
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 0
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 1
fixme:file:UnlockFile not implemented in server
trace:file:DeleteFileW L"C:\\WINDOWS\\FILELOCK.TMP"
trace:file:CreateFileW L"C:\\WINDOWS\\TWAIN.LOG" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/TWAIN.LOG' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\Twain001.Mtx" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twain001.Mtx' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\Twain001.Mtx" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twain001.Mtx' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\Twunk002.MTX" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twunk002.MTX' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:FILE_DoOpenFile C:\WINDOWS\Twain_32\Nikon\Nikon Scan 3.0\Nikon Scan.ds OF_READ OF_SHARE_COMPAT OF_EXIST
trace:file:FILE_DoOpenFile C:\WINDOWS\Twain_32\Nikon\Nikon Scan 3.0\Nikon Scan.ds 4000
trace:file:FILE_DoOpenFile found /home/baier/bin/windows/WINDOWS/Twain_32/Nikon/Nikon Scan 3.0/Nikon Scan.ds = L"C:\\WINDOWS\\TWAIN_32\\NIKON\\NIKO~L5T.0\\NIKO~CX2.DS"
trace:file:GetFileInformationByHandle 0x8c
trace:file:FILE_DoOpenFile (C:\WINDOWS\Twain_32\Nikon\Nikon Scan 3.0\Nikon Scan.ds): OK, return = 0x8c
trace:file:CreateFileW L"C:\\WINDOWS\\Twain001.Mtx" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twain001.Mtx' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\TWAIN_32.DLL" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING attributes 0x0
trace:file:CreateFileW returning 0x8c
trace:file:CreateFileW L"C:\\WINDOWS\\FILELOCK.TMP" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
trace:file:CreateFileW returning 0x8c
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 0
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 1
fixme:file:LockFile not implemented in server
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 0
trace:file:SetFilePointer handle 0x8c offset 0 high 0 origin 1
fixme:file:UnlockFile not implemented in server
trace:file:DeleteFileW L"C:\\WINDOWS\\FILELOCK.TMP"
trace:file:CreateFileW L"C:\\WINDOWS\\TWAIN.LOG" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/TWAIN.LOG' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\Twain001.Mtx" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twain001.Mtx' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\Twain001.Mtx" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twain001.Mtx' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:CreateFileW L"C:\\WINDOWS\\Twunk002.MTX" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twunk002.MTX' (GLE 2)
trace:file:CreateFileW returning 0xffffffff
trace:file:FILE_DoOpenFile C:\WINDOWS\Twain_32\Nikon\Nikon Scan 3.0\Nikon Scan.ds OF_READ OF_SHARE_COMPAT OF_EXIST
trace:file:FILE_DoOpenFile C:\WINDOWS\Twain_32\Nikon\Nikon Scan 3.0\Nikon Scan.ds 4000
trace:file:FILE_DoOpenFile found /home/baier/bin/windows/WINDOWS/Twain_32/Nikon/Nikon Scan 3.0/Nikon Scan.ds = L"C:\\WINDOWS\\TWAIN_32\\NIKON\\NIKO~L5T.0\\NIKO~CX2.DS"
trace:file:GetFileInformationByHandle 0x8c
trace:file:FILE_DoOpenFile (C:\WINDOWS\Twain_32\Nikon\Nikon Scan 3.0\Nikon Scan.ds): OK, return = 0x8c
trace:file:CreateFileW L"C:\\WINDOWS\\Twain001.Mtx" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_NEW attributes 0x80
warn:file:FILE_CreateFile Unable to create file '/home/baier/bin/windows/WINDOWS/Twain001.Mtx' (GLE 2)
trace:file:CreateFileW returning 0xffffffff