<div class="gmail_quote">On Fri, Feb 27, 2009 at 8:32 PM, Dan Kegel <span dir="ltr">&lt;<a href="mailto:dank@kegel.com">dank@kegel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">
</div>Hmm.  So making riched20 prefer native would break apps<br>
that use msftedit, if native riched20 but no native msftedit is present?<br>
</blockquote><div><br>Yes.  Although I haven&#39;t heard of this being an issue with people using winetricks. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Does this mean that our msftedit is doing things differently than<br>
the native one?</blockquote></div><br>Yes, native is like a newer version of riched20, not a wrapper like builtin msftedit.  Of course this may change, since riched32 used to be a complete
implementation, but was later turned into a wrapper around riched20.<br><br>In order to do this the same way as native msftedit we would probably need to recompile the riched20 code using a version macro to select different behaviour for different parts of the code. This is seperate from 1.0 emulation which msftedit also allows, despite it&#39;s actually inconsistency with riched32 on it&#39;s improvements to riched20 (e.g. improvement in table implementation).  However, distinguishing between different version didn&#39;t seem popular when I proposed the idea before, so I am waiting until this inconsistency actually causes problems for any applications.<br>
<br>Either way, I don&#39;t think it would be much worse than the way things are for both dlls to prefer native.  I am not opposed to any of the ideas proposed for fixing the bug (whether it is checking if it is loaded from the system32 directory, using a heuristic based on version of the dll, or having riched20 prefer native).  What matters is what Julliard prefers, so I am just trying to provide any relevant knowledge.<br>