https://bugs.winehq.org/show_bug.cgi?id=39799
Bug ID: 39799 Summary: Visilogic 8.0 needs 'ITypeInfo_fnInvoke' support for coclass objects (TKIND_COCLASS) in arguments Product: Wine Version: 1.8-rc3 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: oleaut32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
continuation of discussion in bug 12688 ("Unitronics OPLC IDE VisiLogic 6.0 (vb6 app) fails on startup, reports run-time error '372' (failure to load control 'ActiveBar3' from 'Actbar3.ocx')".
Starting with: https://bugs.winehq.org/show_bug.cgi?id=12688#c8
There also exists bug 19016 ("Word Automation from .NET does not work") which has a Wine-Staging patchset that covers much more the app needs here. The marshalling aspect is not involved hence I decided to have a separate ticket for adding 'ITypeInfo_fnInvoke' support for coclass objects (TKIND_COCLASS) in arguments.
Unitronics OPLC IDE Visilogic 8.0.1 (VB6 app)
Dmitry says that current implementation still contains some issue (https://bugs.winehq.org/show_bug.cgi?id=12688#c11) and fixing that allows the applications to proceed further.
Download: http://support.somex.ie/index.php/downloads/category/1-plc-utility-software?...
--- Visilogic 8.0.1
Installer prerequisite: 'winetricks -q jet40'
Workaround for another problem:
--- snip --- $ WINEDLLOVERRIDES=tapi32=d wine ./VisiLogic.exe --- snip ---
--- snip --- -=[ ProtectionID v0.6.6.7 DECEMBER]=- (c) 2003-2015 CDKiLLER & TippeX Build 24/12/14-22:48:13 Ready... Scanning -> Z:\home\focht\Downloads\VisiLogicSetup_801.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 118161024 (070AFE80h) Byte(s) Compilation TimeStamp : 0x3B965AC1 -> Wed 05th Sep 2001 17:02:57 (GMT) [TimeStamp] 0x3B965AC1 -> Wed 05th Sep 2001 17:02:57 (GMT) | PE Header | - | Offset: 0x000000F8 | VA: 0x004000F8 | - -> File has 117882496 (0706BE80h) bytes of appended data starting at offset 044000h [File Heuristics] -> Flag #1 : 00000000000000000000000000000100 (0x00000004) [Entrypoint Section Entropy] : 6.66 (section #0) ".text " | Size : 0x11B16 (72470) byte(s) [DllCharacteristics] -> Flag : (0x0000) -> NONE [SectionCount] 4 (0x4) | ImageSize 0x47000 (290816) byte(s) [VersionInfo] Company Name : Unitronics [VersionInfo] Product Name : VisiLogic [VersionInfo] Product Version : 8.0.1 [VersionInfo] File Description : Vision IDE [VersionInfo] File Version : 8.0.1 [VersionInfo] Original FileName : stub32i.exe [VersionInfo] Internal Name : stub32 [-= Installer =-] InstallShield v6.31.100.1221 Setup Module [CompilerDetect] -> Visual C++ 6.0 - Scan Took : 0.211 Second(s) [0000000D3h (211) tick(s)] [558 of 573 scan(s) done]
Scanning -> C:\Program Files\Unitronics\Unitronics VisiLogic_C\Main\VisiLogic.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 2887680 (02C1000h) Byte(s) Compilation TimeStamp : 0x49EC8D77 -> Mon 20th Apr 2009 14:57:59 (GMT) [TimeStamp] 0x49EC8D77 -> Mon 20th Apr 2009 14:57:59 (GMT) | PE Header | - | Offset: 0x000000C0 | VA: 0x004000C0 | - [File Heuristics] -> Flag #1 : 00000000000000000000000000000000 (0x00000000) [Entrypoint Section Entropy] : 5.26 (section #0) ".text " | Size : 0x2BB3A8 (2864040) byte(s) [DllCharacteristics] -> Flag : (0x0000) -> NONE [SectionCount] 3 (0x3) | ImageSize 0x2C6000 (2908160) byte(s) [VersionInfo] Company Name : Unitronics Website: www.unitronics.com Sales: export@untronics.com Support: support@unitronics.com [VersionInfo] Product Name : VisiLogic [VersionInfo] Product Version : 8.00.0001 [VersionInfo] File Description : Unitronics OPLC IDE [VersionInfo] File Version : 8.00.0001 [VersionInfo] Original FileName : VisiLogic.exe [VersionInfo] Internal Name : VisiLogic [VersionInfo] Version Comments : Unitronics OPLC IDE [VersionInfo] Legal Trademarks : OPLC is the legal trademark of Unitronics [VersionInfo] Legal Copyrights : This file is the property of Unitronics. It may not be changed without prior written permission. The company takes no responsibility for the improper use of the material contained herein. [CompilerDetect] -> Visual Basic 6 (native) [!] File appears to have no protection or is using an unknown protection - Scan Took : 0.593 Second(s) [000000251h (593) tick(s)] [499 of 573 scan(s) done] --- snip ---
$ sha1sum VisiLogicSetup_801.exe 243390482d7b8023c43191772ca783665ebe7c31 VisiLogicSetup_801.exe
$ du -sh VisiLogicSetup_801.exe 113M VisiLogicSetup_801.exe
$ wine --version wine-1.8-rc4
Regards
https://bugs.winehq.org/show_bug.cgi?id=39799
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|NEW |STAGED URL| |http://support.somex.ie/ind | |ex.php/downloads/category/1 | |-plc-utility-software?downl | |oad=4:visilogic-8-0-1 CC| |dmitry@baikal.ru Version|1.8-rc3 |1.8-rc4 Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/oleaut32-TKIND | |_COCLASS
https://bugs.winehq.org/show_bug.cgi?id=39799
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=39799
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=39799
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lokesh.bhandari@enjayworld. | |com
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 41550 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=39799
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/oleaut32-TKIND |er/patches/oleaut32-TKIND_C |_COCLASS |OCLASS
https://bugs.winehq.org/show_bug.cgi?id=39799
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Status|STAGED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |94f4b49d78f8b17bfd95826c653 | |b7513dc1522b9
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/94f4b49d78f8b17bfd95826c65....
https://bugs.winehq.org/show_bug.cgi?id=39799
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.21.
https://bugs.winehq.org/show_bug.cgi?id=39799
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://support.somex.ie/ind |https://web.archive.org/web |ex.php/downloads/category/1 |/20210723075816/https://www |-plc-utility-software?downl |.unitronicsplc.com/Download |oad=4:visilogic-8-0-1 |/SoftwareVersions/Visilogic | |/VisiLogicSetup_8_0_1.exe
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download links via Internet Archive for documentation.
https://web.archive.org/web/20190311160118/https://www.unitronicsplc.com/sof...
I've created a couple of snapshots for old releases, just in case:
https://web.archive.org/web/20210723075816/https://www.unitronicsplc.com/Dow...
https://web.archive.org/web/20210723080129/https://www.unitronicsplc.com/Dow...
https://web.archive.org/web/20210723080444/https://www.unitronicsplc.com/Dow...
https://web.archive.org/web/20210723080800/https://www.unitronicsplc.com/Dow...
https://web.archive.org/web/20210723081529/https://www.unitronicsplc.com/Dow...
https://web.archive.org/web/20210723081650/https://www.unitronicsplc.com/Dow...
https://web.archive.org/web/20210723081639/https://www.unitronicsplc.com/Dow...
$ sha1sum VisiLogic* 5f814902735b9069905db9618ef8abda92395ded VisiLogic_9_6_00.exe 5ac898a187a699d8cfc65e2831bba08ef6d53bb5 VisiLogic_9_8_65.exe 243390482d7b8023c43191772ca783665ebe7c31 VisiLogicSetup_8_0_1.exe 50593a9aefbdd75d0dd73effe964946adaf6b087 VisiLogicSetup_8_6_3.exe b5ddc67652cbdde8481128c9b82df68a69019895 VisiLogicSetup_931.exe 9e4f9248780e0bfe137dc8bc5720c4f4d2618f48 VisiLogicSetup_9_5_0.exe 7f91eb101d594fd34dd56868bd529e5ada1c092f VisiLogicSetup_9_7_Build_60.exe
$ du -sh VisiLogic* 181M VisiLogic_9_6_00.exe 269M VisiLogic_9_8_65.exe 113M VisiLogicSetup_8_0_1.exe 121M VisiLogicSetup_8_6_3.exe 131M VisiLogicSetup_931.exe 176M VisiLogicSetup_9_5_0.exe 226M VisiLogicSetup_9_7_Build_60.exe
Regards