[Bug 59590] New: MS-Money 2000 - cannot process TKIND_UNION when loading INV7.OCX
http://bugs.winehq.org/show_bug.cgi?id=59590 Bug ID: 59590 Summary: MS-Money 2000 - cannot process TKIND_UNION when loading INV7.OCX Product: Wine Version: 11.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: oleaut32 Assignee: wine-bugs@list.winehq.org Reporter: wolfo.dev@wolke7.net Distribution: --- When installing MS-Money 2000 or running MS-Money 2000 and clicking on "update information from the internet", the following FIXME message is logged. 02c0:fixme:ole:ITypeLib2_Constructor_SLTG Not processing typekind 7 This happens when the INV7.OCX OLE Control is loaded. The INV7.OCX file contains a type TKIND_UNION, the handling of union types is not implemented for SLTG typelibs. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59590 --- Comment #1 from Wolfgang Hartl <wolfo.dev@wolke7.net> --- I added a SLTG_ProcessUnion() function and tested with MS-Money. Before the patch: the FIXME is shown: 02c0:fixme:ole:ITypeLib2_Constructor_SLTG Not processing typekind 7 After applying the patch: the message is gone. Second test: Create a small union type tlb and check the output of the structure dump. I dumped the tlb, before and after the patch. Without the patch the FIXME is shown and not the structure, after the patch applied the message is gone and the union structure is shown. There were some obstacles to get to this tlb in SLTG format: In widl the union is not implemented for "-m32 --oldtlb". ->"error: add_union_typeinfo: MyUnion not implemented" Under WinXP midl has a bug that fails the compile: MIDL9008 / 0xC0000005. So, I had to create the structure with ICreateTypeLib() directly in a c-program. Finally, it worked out and the tlb was shown correctly in multiple OLE viewers. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59590 --- Comment #2 from Wolfgang Hartl <wolfo.dev@wolke7.net> --- Created attachment 80660 --> http://bugs.winehq.org/attachment.cgi?id=80660 dump of a simple_union.tlb the log shows the dumps of the SimpleUnion type - before and after the fix applied -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59590 --- Comment #3 from Wolfgang Hartl <wolfo.dev@wolke7.net> --- https://gitlab.winehq.org/wine/wine/-/merge_requests/10502 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59590 Dmitry Timoshkov <dmitry@baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #4 from Dmitry Timoshkov <dmitry@baikal.ru> --- (In reply to Wolfgang Hartl from comment #1)
There were some obstacles to get to this tlb in SLTG format: In widl the union is not implemented for "-m32 --oldtlb". ->"error: add_union_typeinfo: MyUnion not implemented"
I've added support for unions to widl's SLTG generator in 671b519390c831207cc7ad24fc0a4552a6b583a7. (In reply to Wolfgang Hartl from comment #3)
Looks good to me. MR 11089 fixes a problem I've found while testing this patch in 32-bit and 64-bit prefixes. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59590 Dmitry Timoshkov <dmitry@baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |56174191dac0be424b9fd4e09ac | |1d6c2989eea49 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #5 from Dmitry Timoshkov <dmitry@baikal.ru> --- Assuming fixed by 56174191dac0be424b9fd4e09ac1d6c2989eea49. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla