https://bugs.winehq.org/show_bug.cgi?id=12688
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED URL| |http://www.unitronics.com/C | |ontent.aspx?Page=Downloads Resolution|--- |ABANDONED Summary|Cannot run VisiLogic |Unitronics OPLC IDE |software - Actbar3.ocx |VisiLogic 6.0 (vb6 app) |error |fails on startup, reports | |run-time error '372' | |(failure to load control | |'ActiveBar3' from | |'Actbar3.ocx')
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
I found an old Visilogic 8.0.1 download here:
http://support.somex.ie/index.php/downloads/category/1-plc-utility-software?...
It still ships a large set of 3rd party ActiveX controls as described in initial bug report with Visilogic 6.x
After installation in clean WINEPREFIX:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Unitronics/Unitronics VisiLogic_C/Main
$ WINEDEBUG=+msgbox wine ./VisiLogic.exe err:ole:CoGetClassObject class {00000602-0000-0010-8000-00aa006d2ea4} not registered err:ole:create_server class {00000602-0000-0010-8000-00aa006d2ea4} not registered err:ole:CoGetClassObject no class object {00000602-0000-0010-8000-00aa006d2ea4} could be created for context 0x5 trace:msgbox:MSGBOX_OnInit L"System file Error (429).\r\nMissing or bad version of MSADOX.DLL.\r\nVisiLogic will terminate" --- snip ---
bug 37484 -> 'winetricks -q jet40'
--- snip --- $ wine ./VisiLogic.exe fixme:olepicture:OleLoadPictureEx (0xbfc5ac,774,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f98c), partially implemented. fixme:tapi:lineInitializeExA (0x31d0b6c, 0x400000, 0x100085b9, "amTapi Control", 0x33f854, 0x31d0bac, 0x33f7cc): stub. wine: Unhandled page fault on write access to 0x0000001c at address 0x1000d0d8 (thread 0009), starting debugger... --- snip ---
Seems a different problem, disabling 'tapi32.dll' works around:
--- snip --- $ WINEDLLOVERRIDES=tapi32=d wine ./VisiLogic.exe --- snip ---
Finally:
--- snip --- ... 0027:Call user32.CreateWindowExA(00000200,6602ad28 "mdiclient",00000000,46000001,00000000,00000000,000002ad,000001f2,0001008c,00000cac,66000000,0033f148) ret=66082289 ... 0027:Ret user32.CreateWindowExA() retval=0001008c ret=6605a8de 0027:Call KERNEL32.lstrcmpiA(00409eb0 "ActiveBar3LibraryCtl.ActiveBar3",00428c95 "ActiveBar3LibraryCtl.ActiveBar3") ret=66008d24 ... 0027:Call ole32.CoGetClassObject(00be805c,00000003,00000000,660307d0,0033f8fc) ret=6606ff39 0027:trace:ole:CoGetClassObject CLSID: {5407153d-022f-4cd2-8bff-465569bc5db8},IID: {00000001-0000-0000-c000-000000000046} ... 0027:trace:ole:COMPOBJ_DllList_Add L"C:\windows\system32\Actbar3.ocx" 0027:Call KERNEL32.LoadLibraryExW(0033f51e L"C:\windows\system32\Actbar3.ocx",00000000,00000008) ret=7e94eb42 ... 0027:Ret PE DLL (proc=0x350a2049,module=0x35000000 L"Actbar3.ocx",reason=PROCESS_ATTACH,res=(nil)) retval=1 0027:Ret KERNEL32.LoadLibraryExW() retval=35000000 ret=7e94eb42 0027:Call KERNEL32.GetProcAddress(35000000,7ea18e49 "DllCanUnloadNow") ret=7e94ebb2 0027:Ret KERNEL32.GetProcAddress() retval=027b0000 ret=7e94ebb2 0027:Call KERNEL32.GetProcAddress(35000000,7ea18e59 "DllGetClassObject") ret=7e94ebc8 0027:Ret KERNEL32.GetProcAddress() retval=027b0011 ret=7e94ebc8 .... 0027:trace:ole:apartment_getclassobject added new loaded dll L"C:\windows\system32\Actbar3.ocx" 0027:trace:ole:apartment_getclassobject calling DllGetClassObject 0x27b0011 0027:CALL Actbar3.ocx.DllGetClassObject(00be805c) ret=7e950c42 ... 0027:RET Actbar3.ocx.DllGetClassObject() retval=00000000 ret=7e950c42 ... 0027:trace:ole:LoadTypeLib (L"C:\windows\system32\Actbar3.ocx",0x33f4a4) 0027:trace:ole:LoadTypeLibEx (L"C:\windows\system32\Actbar3.ocx",0,0x33f4a4) 0027:Call KERNEL32.SearchPathW(00000000,033ff374 L"C:\windows\system32\Actbar3.ocx",00000000,00000105,0033f13e,00000000) ret=7e770a38 0027:Ret KERNEL32.SearchPathW() retval=0000001f ret=7e770a38 0027:Call KERNEL32.CreateFileW(0033f13e L"C:\windows\system32\Actbar3.ocx",80000000,00000000,00000000,00000003,00000080,00000000) ret=7e770aef 0027:Ret KERNEL32.CreateFileW() retval=00000174 ret=7e770aef ... 0027:Call KERNEL32.LoadLibraryExW(0033f13e L"C:\windows\system32\Actbar3.ocx",00000000,0000000b) ret=7e76fded 0027:Ret KERNEL32.LoadLibraryExW() retval=35000000 ret=7e76fded 0027:Call KERNEL32.FindResourceW(35000000,00000001,7e8132c8 L"TYPELIB") ret=7e76fe23 0027:Ret KERNEL32.FindResourceW() retval=350c6960 ret=7e76fe23 ... 0027:trace:ole:ITypeLib2_Constructor_MSFT 0x350ca4f0, TLB length = 75396 0027:Call ntdll.RtlAllocateHeap(00110000,00000008,00000094) ret=7e76d568 0027:Ret ntdll.RtlAllocateHeap() retval=0344c7d0 ret=7e76d568 0027:trace:ole:ITypeLib2_Constructor_MSFT read segment directory (at 352) ... 0027:trace:ole:SysAllocStringLen L"Connect Elements" ... 0027:trace:ole:ITypeInfo_fnInvoke (0x3462830)(0x27c0df0,id=341,flags=0x00000001,0x33f4d0,(nil),0x33f4b0,0x33f4e0) 0027:trace:ole:dump_DispParms args=1 named args=0 0027:trace:ole:dump_DispParms args: 0027:trace:ole:dump_DispParms [0] 0x33f514 {VT_DISPATCH: 0x2c35ea0} 0027:trace:ole:ITypeInfo_fnInvoke invoking: L"ApplyAll"(1) parm0: L"Tool" memid is 00000155 Param 0: tdesc.vartype 26 (ptr to VT_USERDEFINED ref = 1130) u.paramdesc.wParamFlags PARAMFLAG_FIN u.paramdesc.lpex (nil) funckind: 1 (pure virtual) invkind: 1 (func) callconv: 4 (stdcall) oVft: 336 cParamsOpt: 0 wFlags: 0 elemdescFunc (return value type): tdesc.vartype 25 (VT_HRESULT) u.paramdesc.wParamFlags PARAMFLAGS_NONE u.paramdesc.lpex (nil) helpstring: L"Apply this tool's properties to all tool with the same I Id" entry: invalid ... 0027:trace:ole:ITypeInfo_fnGetRefTypeInfo (0x3462830) hreftype 0x1130 loaded SUCCESS (0x346b228) ... 0027:trace:ole:ITypeInfo_fnInvoke changing args 0027:trace:ole:ITypeInfo_fnInvoke 0x33f514 {VT_DISPATCH: 0x2c35ea0} ... 0027:trace:ole:ITypeInfo_fnGetRefTypeInfo (0x3462830) hreftype 0x1130 loaded SUCCESS (0x346b228) 0027:trace:ole:ITypeInfo_fnGetTypeAttr (0x346b228) ... 0027:err:ole:get_iface_guid Unexpected typekind 5 ... 0027:trace:ole:ITypeInfo_fnInvoke -- 0x8000ffff 0027:trace:ole:ITypeInfo_fnRelease (0x3462830)->(1) ... 0027:Call KERNEL32.RaiseException(c000008f,00000001,00000002,0033f424) ret=660d0956 0027:trace:seh:raise_exception code=c000008f flags=1 addr=0x7b843fb7 ip=7b843fb7 tid=0027 0027:trace:seh:raise_exception info[0]=deadcafe 0027:trace:seh:raise_exception info[1]=deadcafe 0027:trace:seh:raise_exception eax=7b832d8d ebx=0013b538 ecx=00000008 edx=0033f384 esi=0033f424 edi=0033f3f0 0027:trace:seh:raise_exception ebp=0033f3c8 esp=0033f364 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200212 0027:trace:seh:call_stack_handlers calling handler at 0x405606 code=c000008f flags=1 ... 0027:Call winex11.drv.SetWindowText(000100e2,034cfbf0 L"Run-time error '-2147418113 (8000ffff)':\n\nAutomation error") ret=7ec64b3d --- snip ---
I've seen this somewhere else but can't remember now. Definitely a different problem here, the ActiveX control was already properly loaded.
Since the original VisiLogic 6.0 installer can't be found anymore for exact reproduce, resolving 'ABANDONED' here.
Regards