search path redux - if office 2007 always uses a private riched20, why does wine interpose its own global one?

Dan Kegel dank at kegel.com
Fri Feb 27 14:14:41 CST 2009


On Tue, Feb 17, 2009 at 7:10 AM, Alexandre Julliard <julliard at winehq.org> wrote:
> The version of the native dll, compared to the builtin. I could imagine
> a heuristic where if the major version of native is higher than builtin
> you default to native or something like that.

I've updated http://bugs.winehq.org/show_bug.cgi?id=14980
with that hint.

Say, have we considered making riched20 prefer native?
That makes the app work, too.
- Dan

--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -2743,6 +2743,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD
fdwReason, LPVOID lpvReserved
     TRACE("\n");
     switch (fdwReason)
     {
+    case DLL_WINE_PREATTACH:
+       return FALSE;  /* prefer native version */
+



More information about the wine-devel mailing list