I'm trying to get my acounting program working under wine. So far I got it up and running with all dlls it needs. But whe I try to import .mdb database file I get the following error from the accounting program:
"Undefined function CHR() in expression: INSERT INTO ........ P657'+CHR(13)+CHR(10)+......."
and wine debug gives me this almost at the same time: ...... fixme:variant:VarBstrFromDec semi-stub fixme:variant:VarBstrFromDec semi-stub fixme:variant:VarBstrFromDec semi-stub fixme:ole:MSFT_ReadValue BSTR length = -1? fixme:ole:MSFT_ReadValue BSTR length = -1? fixme:ole:ITypeLibComp_fnBind (L"CHR", 107e4b, 0x3, 0x4068ac60, 0x4068ac54, 0x4068ac6c): stub fixme:ole:ITypeLibComp_fnBind (L"CHR", 107e4b, 0x3, 0x4068ac60, 0x4068ac54, 0x4068ac6c): stub fixme:ole:ITypeLibComp_fnBind (L"CHR", 107e4b, 0x3, 0x4068ac60, 0x4068ac54, 0x4068ac6c): stub ........
I understand this function converts ASCII code into the char. But I don;t know how to find out which library is causing the problem.
Here is list of loaded libs when the app starts up:
trace:loaddll:load_dll Loaded module L"c:\windows\system\advapi32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\gdi32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\user32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\iphlpapi.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\rpcrt4.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\ole32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\shlwapi.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\comctl32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\shell32.dll" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "system.drv" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "GDI.EXE" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "USER.EXE" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "keyboard.drv" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\x11drv.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\imm32.dll" : builtin err:dialog:EndDialog got invalid window handle ((nil)); buggy app !? trace:loaddll:load_dll Loaded module L"c:\windows\system\advapi32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\gdi32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\user32.dll" : builtin trace:loaddll:load_dll Loaded module L"C:\windows\system\StwGrd50.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\MSVCRT.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\MFC42.DLL" : native trace:loaddll:load_dll Loaded module L"c:\windows\system\iphlpapi.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\rpcrt4.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\ole32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\shlwapi.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\comctl32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\shell32.dll" : builtin trace:loaddll:load_dll Loaded module L"C:\windows\system\StwRex50.dll" : native trace:loaddll:load_dll Loaded module L"c:\windows\system\winspool.drv" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\oleaut32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\winmm.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\lz32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\version.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\msvfw32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\comdlg32.dll" : builtin trace:loaddll:load_dll Loaded module L"C:\windows\system\StwTb633.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\StwRp50C.dll" : native trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "system.drv" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "GDI.EXE" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "USER.EXE" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "keyboard.drv" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\x11drv.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\imm32.dll" : builtin trace:loaddll:load_dll Loaded module L"C:\windows\system\MFC42LOC.DLL" : native trace:loaddll:MODULE_LoadModule16 Loaded module "MMSYSTEM.DLL" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\msacm32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\msacm.drv" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\midimap.drv" : builtin trace:loaddll:load_dll Loaded module L"C:\windows\system\StwTb63C.dll" : native trace:loaddll:load_dll Loaded module L"c:\windows\system\uxtheme.dll" : builtin fixme:ole:CoRegisterMessageFilter stub trace:loaddll:load_dll Loaded module L"c:\windows\system\riched20.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\riched32.dll" : builtin err:x11drv:X11DRV_CreateWindow invalid window width -4 err:x11drv:X11DRV_CreateWindow invalid window width -22 err:x11drv:X11DRV_CreateWindow invalid window width -4 fixme:richedit:RichEditANSIWndProc EM_FORMATRANGE: stub fixme:richedit:RichEditANSIWndProc EM_DISPLAYBAND: stub trace:loaddll:load_dll Loaded module L"C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\DAO\DAO360.DLL" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\mswstr10.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\MSJET40.DLL" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\vbajet32.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\expsrv.dll" : native trace:loaddll:MODULE_FlushModrefs Unloaded module L"C:\windows\system\vbajet32.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\MSJINT40.DLL" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\MSJTER40.DLL" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\MSWDAT10.DLL" : native trace:loaddll:MODULE_FlushModrefs Unloaded module L"C:\windows\system\MSWDAT10.DLL" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\MSWDAT10.DLL" : native trace:loaddll:MODULE_FlushModrefs Unloaded module L"C:\windows\system\MSWDAT10.DLL" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\MSDART32.DLL" : native trace:loaddll:load_dll Loaded module L"C:\PROGRAM FILES\COMMON FILES\SYSTEM\ADO\MSADO15.DLL" : native fixme:ole:CoCreateInstance no classfactory created for CLSID {6c736db1-bd94-11d0-8a23-00aa00b58e10}, hres is 0x80040154 trace:loaddll:load_dll Loaded module L"C:\PROGRAM FILES\COMMON FILES\SYSTEM\OLE DB\OLEDB32.DLL" : native trace:loaddll:load_dll Loaded module L"C:\PROGRAM FILES\COMMON FILES\SYSTEM\OLE DB\OLEDB32R.DLL" : native trace:loaddll:load_dll Loaded module L"C:\WINDOWS\SYSTEM\MSJETOLEDB40.DLL" : native fixme:ole:CoCreateInstance no classfactory created for CLSID {ecabb0c0-7f19-11d2-978e-0000f8757e2a}, hres is 0x80040154 trace:loaddll:load_dll Loaded module L"C:\windows\system\mtxdm.dll" : native trace:loaddll:load_dll Loaded module L"C:\WINDOWS\SYSTEM\MSJTES40.DLL" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\VBAJET32.DLL" : native trace:loaddll:load_dll Loaded module L"C:\WINDOWS\SYSTEM\MSRD3X40.DLL" : native fixme:richedit:RichEditANSIWndProc EM_FORMATRANGE: stub fixme:richedit:RichEditANSIWndProc EM_DISPLAYBAND: stub fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented fixme:advapi:GetFileSecurityW (L"C:\Program Files\StormWare\Pohoda\Data\Pohoda.sys") : returns fake SECURITY_DESCRIPTOR trace:loaddll:load_dll Loaded module L"C:\Program Files\StormWare\Pohoda\PhDB.dll" : native
Thanks,
Marty