I am trying to run VB application with sql server as Backend on Kubunru 12.04 (64bit) wine-1.4.
First Created a bottle with
$ WINEARCH=win32 WINEPREFIX=~/wine/wineACC winecfg
$ WINEARCH=win32 WINEPREFIX=~/wine/wineACC winetricks
and installed mdac28, vb6 run, vc6 run, ws56vb.
Then actual application was run with
$WINEARCH=win32 WINEPREFIX=~/wine/wineACC WINEDEBUG=+loaddll wine "d:\\vb-App.exe"
The application runs and shows options to select Till this it wont connect to database (tested by removing lan cable on win XP). When option is selected it connects to proper database depending on option selected. On linux with wine, application shows a dialog
Database 0- 2147418113 can not be opened !
Method '~' of Object '~' failed.
The log after First selection window popup (till which app runs fine) is as Follows.
Code: Select all
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\usp10.dll" at 0x7e3e0000: builtin
err:ole:CoGetClassObject class {0d43fe01-f093-11cf-8940-00a0c9054228} not registered
err:ole:create_server class {0d43fe01-f093-11cf-8940-00a0c9054228} not registered
err:ole:CoGetClassObject no class object {0d43fe01-f093-11cf-8940-00a0c9054228} could be created for context 0x5
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0x7e360000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\comctl32.dll" at 0x7e260000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shlwapi.dll" at 0x7df10000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shell32.dll" at 0x7df70000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winspool.drv" at 0x7ded0000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\comdlg32.dll" at 0x7e180000: builtin
trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\MSDART.DLL" at 0x1f670000: native
trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Common Files\\System\\ADO\\msado15.dll" at 0x1f440000: native
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\uxtheme.dll" at 0x7de90000: builtin
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\spoolss.dll" at 0x7dac0000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\localspl.dll" at 0x7de70000: builtin
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Common Files\\System\\OLE DB\\oledb32.dll" at 0x1f890000: native
trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Common Files\\System\\OLE DB\\OLEDB32R.DLL" at 0x1f900000: native
trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Common Files\\System\\OLE DB\\MSDATL3.dll" at 0x340000: native
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\iphlpapi.dll" at 0x7da70000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ws2_32.dll" at 0x7da40000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\netapi32.dll" at 0x7daa0000: builtin
trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Common Files\\System\\OLE DB\\sqloledb.dll" at 0x75370000: native
err:ole:CoGetClassObject class {ecabb0c0-7f19-11d2-978e-0000f8757e2a} not registered
err:ole:CoGetClassObject no class object {ecabb0c0-7f19-11d2-978e-0000f8757e2a} could be created for context 0x1
trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\mtxdm.dll" at 0x69a20000: native
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wsock32.dll" at 0x7da30000: builtin
trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\DBNETLIB.DLL" at 0x74cb0000: native
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\security.dll" at 0x7da10000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\secur32.dll" at 0x7d9f0000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ntdsapi.dll" at 0x7d9d0000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\crypt32.dll" at 0x7d920000: builtin
trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\schannel.dll" at 0x7d900000: builtin
fixme:secur32:schan_imp_create_session Using hardcoded "NORMAL" priority
trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Common Files\\System\\ADO\\msader15.dll" at 0x1f430000: native
trace:loaddll:free_modref Unloaded module L"C:\\Program Files\\Common Files\\System\\ADO\\msader15.dll" : native
trace:loaddll:free_modref Unloaded module L"C:\\Program Files\\Common Files\\System\\ADO\\msado15.dll" : native
trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\ntdsapi.dll" : builtin
trace:loaddll:free_modref Unloaded module L"C:\\Program Files\\Common Files\\System\\OLE DB\\sqloledb.dll" : native
trace:loaddll:free_modref Unloaded module L"C:\\Program Files\\Common Files\\System\\OLE DB\\MSDATL3.dll" : native
Code: Select all
[Bootstrap Files]
[email protected],$(WinSysPathSysFile),,,6/18/98 12:00:00 AM,102912,6.0.81.69
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1
[email protected],$(WinSysPathSysFile),$(TLBRegister),,6/3/99 12:00:00 AM,17920,2.40.4275.1
[email protected],$(WinSysPathSysFile),,,3/8/99 12:00:00 AM,147728,2.40.4275.1
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,3/8/99 12:00:00 AM,164112,5.0.4275.1
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,4/12/00 12:00:00 AM,598288,2.40.4275.1
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,3/24/05 6:07:38 PM,1386496,6.0.97.82
[Setup1 Files]
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),2/23/04 12:00:00 AM,119808,6.1.97.82
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,440352,6.0.88.4
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),4/15/05 8:58:16 PM,1071088,6.1.97.86
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),9/3/04 12:00:00 AM,152848,6.1.97.82
[email protected],$(WinSysPathSysFile),,,5/7/98 12:00:00 AM,174352,4.0.993.4
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),9/3/04 12:00:00 AM,212240,6.1.97.82
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),9/3/04 12:00:00 AM,131856,6.1.97.82
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 1:30:00 PM,260920,6.0.81.69
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),10/2/99 2:12:26 AM,106496,9.0.0.2607
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 12:00:00 AM,137000,6.0.81.69
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),9/3/04 12:00:00 AM,609824,6.0.81.5
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),9/3/04 12:00:00 AM,260880,6.1.97.82
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),9/3/04 12:00:00 AM,167968,6.0.84.18
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),9/3/04 12:00:00 AM,224016,6.1.97.82
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),3/24/05 6:07:40 PM,1107456,8.70.1104.0
[email protected],$(WinSysPath),,$(Shared),2/9/01 9:01:20 AM,206240,10.0.2607.0
[email protected],$(WinSysPath),,$(Shared),2/19/01 9:12:38 PM,626688,10.0.2619.0
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),2/23/04 12:00:00 AM,78848,6.1.97.82
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),3/24/05 6:07:24 PM,229376,2.82.1830.0
[email protected],$(WinSysPath),,$(Shared),3/24/05 6:07:24 PM,61440,2.82.1830.0
[email protected],$(WinSysPathSysFile),,,2/17/04 12:00:00 AM,278581,6.0.9782.0
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),3/24/05 6:13:34 PM,151552,5.6.0.8827
[email protected],$(WinSysPath),,$(Shared),3/24/05 6:13:40 PM,321024,6.0.3790.1830
[email protected],$(WinSysPath),,$(Shared),1/19/99 10:49:22 AM,43520,0.0.0.0
[email protected],$(AppPath),,$(Shared),7/29/08 11:25:22 AM,6299648,1.0.0.0
BTW If a dll from windows system32 is to used then what we have to do.
somewhere i read about regsvr32 command which is used to register dll
what is exact syntax and how it should be relate to particular wine prefix.
Thanks and warm regards
Raja