http://bugs.winehq.org/show_bug.cgi?id=15106
--- Comment #16 from Dan Hipschman dsh@linux.ucla.edu 2008-09-04 16:56:48 --- Created an attachment (id=15837) --> (http://bugs.winehq.org/attachment.cgi?id=15837) Hack that works with winetricks riched20 but isn't correct
The problem when only overriding riched20 is that it does a string compare on the class name in WM_CREATE for the omnibar, comparing it to "RICHEDIT", but the class name is an atom, not a pointer (it comes directly from CreateWindowEx), and wcsicmp chokes on this.
I thought the fix for this was to translate atoms to the strings they represented (patch attached), but the conformance tests failed, so this is not the way to go. Maybe it will give someone a clue as to what's happening, though.
Also, I found using a native riched20.dll from an XP box worked without the above hack, and without riched30.