Method '~' of Object '~' failed - VB app with MSSQL backend.

Questions about Wine on Linux
Locked
raja_s_patil
Level 2
Level 2
Posts: 39
Joined: Thu Aug 07, 2008 4:17 am

Method '~' of Object '~' failed - VB app with MSSQL backend.

Post by raja_s_patil »

Hello,

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
The application has installer which has SETUP.LST containing following sections

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
Can somebody help me in this regard

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
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Method '~' of Object '~' failed - VB app with MSSQL back

Post by dimesio »

1.4 is over two years old and no longer supported. Upgrade to the latest development release, and reinstall your app to a clean wineprefix under the new version. You will have to figure out which, if any, of the winetricks are still needed.
raja_s_patil
Level 2
Level 2
Posts: 39
Joined: Thu Aug 07, 2008 4:17 am

Re: Method '~' of Object '~' failed - VB app with MSSQL back

Post by raja_s_patil »

Thanks,

I will test by upgrade wine to 1.6, also on wine 1.7 beta and come back

Thanks and warm regards,


Raja
raja_s_patil
Level 2
Level 2
Posts: 39
Joined: Thu Aug 07, 2008 4:17 am

Re: Method '~' of Object '~' failed - VB app with MSSQL back

Post by raja_s_patil »

Well, Today I installed Kubuntu 14.04.1 64 bit on a spare dell laptop and continued Testing.

I installed wine-1.6.2 and winetricks from kubuntu repositories.
Created a Fresh wineprefix and used winetricks to install mdac28, vb6 run, ws56vb.
When the application is run It progrssed and I could get Login Prompt. After giving username and password
the main application windows is not being shown. but system monitor shows exe in tasks list.

The debug log is as follows after application stops after confirming successful login
i.e. username and password is varified from database.

KUbuntu 14.04.1 64 bit with latest updates, wine 1.6,.2

Code: Select all

fixme:olepicture:OleLoadPictureEx (0x181e724,1086,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f494), partially implemented.
fixme:olepicture:OLEPictureImpl_SaveAsFile (0x1abfb80)->(0x1ad5af0, 0, (nil)), hacked stub.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,2570,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f598), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f598), partially implemented.
trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\mscomctl.ocx" at 0x27580000: native
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1446,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f598), partially implemented.
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject no class object {8e27c92b-1264-101c-8a2f-040224009c02} could be created for context 0x3
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject no class object {8e27c92b-1264-101c-8a2f-040224009c02} could be created for context 0x3
fixme:olepicture:OleLoadPictureEx (0x181e8e4,2570,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1446,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject no class object {8e27c92b-1264-101c-8a2f-040224009c02} could be created for context 0x3
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject no class object {8e27c92b-1264-101c-8a2f-040224009c02} could be created for context 0x3
fixme:olepicture:OleLoadPictureEx (0x181e8e4,2570,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1446,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject no class object {8e27c92b-1264-101c-8a2f-040224009c02} could be created for context 0x3
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject no class object {8e27c92b-1264-101c-8a2f-040224009c02} could be created for context 0x3
fixme:olepicture:OleLoadPictureEx (0x181e8e4,2570,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8e4,1446,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject no class object {8e27c92b-1264-101c-8a2f-040224009c02} could be created for context 0x3
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject class {8e27c92b-1264-101c-8a2f-040224009c02} not registered
err:ole:CoGetClassObject no class object {8e27c92b-1264-101c-8a2f-040224009c02} could be created for context 0x3

Hope somebody helps

Thanks and warm regards

Raja
raja_s_patil
Level 2
Level 2
Posts: 39
Joined: Thu Aug 07, 2008 4:17 am

Re: Method '~' of Object '~' failed - VB app with MSSQL back

Post by raja_s_patil »

Hello

I continued Testing with application and upgraded wine through ppa.

Status is as above only no difference it stops at same phase.

KUbuntu 14.04.1 64 bit, wine-1.7.33

the log after login confirmation window is as follows.

Code: Select all

fixme:olepicture:OleLoadPictureEx (0x181e6e4,1086,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f494), partially implemented.
fixme:olepicture:OLEPictureImpl_SaveAsFile (0x1ab7ba8)->(0x348b4a0, 0, (nil)), hacked stub.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,2570,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f598), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f568), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f598), partially implemented.
trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\MSCOMCTL.OCX" at 0x27580000: native
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1446,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f598), partially implemented.
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject no class object {0713e8a2-850a-101b-afc0-4210102a8da7} could be created for context 0x3
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject no class object {0713e8a2-850a-101b-afc0-4210102a8da7} could be created for context 0x3
fixme:olepicture:OleLoadPictureEx (0x181e8a4,2570,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1446,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject no class object {0713e8a2-850a-101b-afc0-4210102a8da7} could be created for context 0x3
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject no class object {0713e8a2-850a-101b-afc0-4210102a8da7} could be created for context 0x3
fixme:olepicture:OleLoadPictureEx (0x181e8a4,2570,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1446,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject no class object {0713e8a2-850a-101b-afc0-4210102a8da7} could be created for context 0x3
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject no class object {0713e8a2-850a-101b-afc0-4210102a8da7} could be created for context 0x3
fixme:olepicture:OleLoadPictureEx (0x181e8a4,2570,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1446,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject no class object {0713e8a2-850a-101b-afc0-4210102a8da7} could be created for context 0x3
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject no class object {0713e8a2-850a-101b-afc0-4210102a8da7} could be created for context 0x3
fixme:olepicture:OleLoadPictureEx (0x181e8a4,2570,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,326,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f4fc), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,830,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
fixme:olepicture:OleLoadPictureEx (0x181e8a4,1446,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f52c), partially implemented.
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject no class object {0713e8a2-850a-101b-afc0-4210102a8da7} could be created for context 0x3
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject class {0713e8a2-850a-101b-afc0-4210102a8da7} not registered
err:ole:CoGetClassObject no class object {0713e8a2-850a-101b-afc0-4210102a8da7} could be created for context 0x3
thanks and warm regards

Raja
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Method '~' of Object '~' failed - VB app with MSSQL back

Post by dimesio »

{0713e8a2-850a-101b-afc0-4210102a8da7} is comctl32.ocx. Try installing it with winetricks.
raja_s_patil
Level 2
Level 2
Posts: 39
Joined: Thu Aug 07, 2008 4:17 am

Re: Method '~' of Object '~' failed - VB app with MSSQL back

Post by raja_s_patil »

dimesio wrote:{0713e8a2-850a-101b-afc0-4210102a8da7} is comctl32.ocx. Try installing it with winetricks.
Thanks ,

I will try it out. BTW I am curious, how class id is co-related to dll/ocx ?

Can you tell me the method, so that in future I can figure out which
dlls/ocx to install after reading the wine log.

Thanks and warm regards

R. S. Patil
raja_s_patil
Level 2
Level 2
Posts: 39
Joined: Thu Aug 07, 2008 4:17 am

Re: Method '~' of Object '~' failed - VB app with MSSQL back

Post by raja_s_patil »

Problem Solved,

Used wine 1.7.33 on Kubuntu 14.04.1 with latest Updates.

Created Fresh wineprefix First tried with WINARCH=win32 the tried without it
architeture 32 or 64 bit doesn't make any difference.

used winetricks (latest Download and copied to /user/bin) to install
mdac28 and ws56VB.

The application has come with installer which installs required dlls and ocx

I used that installer and installed the application.

Then used with wine everything was inplace progressed to Main window after
option selection, login form, login confirmation form.

However there is some erratic behavior like though shortdate format set to dd/MM/YYYY
sometimes date is shown as MM/dd/YYYY with some options data is shown in datagrid with other options datagrid wont show data. Datagrid title clicks on column sorts data on that column but for String columns it wont sort. well the list is long but it will take some time to guess what is
problematic part.

Well right now problem of get it working under wine is solved functional problems mentioned above
may be programming bugs or builtin dll problems so I will raise issues only after confirming that its
wine related. We have decided to raise issues with developer first.

Thanks once again for help extended in solving this issue.

Warm regards

Raja Patil
Locked