[Bug 14980] Wine does not automatically use the RichEdit Control 'riched20' installed by Microsoft Office 2003/2007/2010/2013/2016 (RichEdit v5.0+ requires native-only override)

WineHQ Bugzilla wine-bugs at winehq.org
Fri Dec 25 14:24:45 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=14980

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
            Summary|Wine does not automatically |Wine does not automatically
                   |use the riched20 installed  |use the RichEdit Control
                   |by Office                   |'riched20' installed by
                   |2003/2007/2010/2013/2016    |Microsoft Office
                   |                            |2003/2007/2010/2013/2016
                   |                            |(RichEdit v5.0+ requires
                   |                            |native-only override)

--- Comment #42 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

revisiting, obviously still present.

Just adding some further tidbits for documentation:

===

Microsoft Office XP (2002)

Ships 'C:\Program Files (x86)\Common Files\Microsoft
Shared\Office10\RICHED20.DLL'

--- snip ---
...
File Type : 32-Bit Dll (Subsystem : Win GUI / 2), Size : 524339 (080033h)
Byte(s) | Machine: 0x14C (I386)
Compilation TimeStamp : 0x3A8330EA -> Thu 08th Feb 2001 23:51:06 (GMT)
...
[VersionInfo] Company Name : Microsoft Corporation
[VersionInfo] Product Name : Microsoft RichEdit Control. version 4.0
[VersionInfo] Product Version : 4.0
[VersionInfo] File Description : Rich Text Edit Control. v4.0
[VersionInfo] File Version : 5.40.11.2210
[VersionInfo] Original FileName : riched20.dll
[VersionInfo] Internal Name : riched20
[VersionInfo] Version Comments : Richedit Version 4.0
[VersionInfo] Legal Copyrights : Copyright © Microsoft Corp. 1997-2000.
--- snip ---

Wine's builtin implementation is sufficient from my testing with Word
(Thesaurus), PowerPoint etc.

===

Microsoft Office 2003:

'C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE11\RICHED20.DLL'

--- snip ---
File Type : 32-Bit Dll (Subsystem : Win GUI / 2), Size : 925696 (0E2000h)
Byte(s) | Machine: 0x14C (I386)
Compilation TimeStamp : 0x3F1709EB -> Thu 17th Jul 2003 20:41:15 (GMT)
...
[VersionInfo] Company Name : Microsoft Corporation
[VersionInfo] Product Name : Microsoft RichEdit Control. version 5.0
[VersionInfo] Product Version : 5.0
[VersionInfo] File Description : Rich Text Edit Control. v5.0
[VersionInfo] File Version : 5.50.30.2002
[VersionInfo] Original FileName : riched20.dll
[VersionInfo] Internal Name : riched20
[VersionInfo] Version Comments : RichEdit Version 5.0
[VersionInfo] Legal Copyrights : Copyright © Microsoft Corp. 1997-2001.
--- snip ---

I'm adding the minimum version of MS Office provided RichEdit control which is
currently required to be overridden to the summary.

Wine currently advertises:

https://source.winehq.org/git/wine.git/blob/9d7a710fc0d1a0ecea17a68675d3899aff63ae0c:/dlls/riched20/version.rc

--- snip ---
  19 #define WINE_FILEDESCRIPTION_STR "Wine Richedit dll"
  20 #define WINE_FILENAME_STR "riched20.dll"
  21 #define WINE_FILEVERSION 5,30,23,1215
  22 #define WINE_FILEVERSION_STR "5,30,23,1215"
  23 #define WINE_PRODUCTVERSION 5,30,23,1215
  24 #define WINE_PRODUCTVERSION_STR "5,30,23,1215"
--- snip ---

which would still work out for comment #15

--- snip ---
Alexandre suggests [..] it would be ok for the loader to check the version of
the native dll with the version of the builtin one, and use the native one if
higher.
--- snip ---

I would assume some of the issues in the duplicate list would no longer require
native override with more time and efforts put in. But end users won't wait for
years and generally don't care for "purist" mode.

$ wine --version
wine-6.0-rc3-34-g9d7a710fc0d

Regards

-- 
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.


More information about the wine-bugs mailing list