Module: docs
Branch: master
Commit: 77e40b7fec8d419cf4ab38db85b0eaea0ce0828f
URL: http://source.winehq.org/git/docs.git/?a=commit;h=77e40b7fec8d419cf4ab38db8…
Author: André Hentschel <nerv(a)dawncrow.de>
Date: Mon May 31 19:09:56 2010 +0200
wineusr: Sync the WINEDLLOVERRIDES examples with the manpage.
---
en/wineusr-running.sgml | 25 ++++++++++++++++++++++---
1 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/en/wineusr-running.sgml b/en/wineusr-running.sgml
index dd3d090..9c5ae2f 100644
--- a/en/wineusr-running.sgml
+++ b/en/wineusr-running.sgml
@@ -248,13 +248,32 @@ Path="c:\windows;c:\windows\system;e:\;e:\test;f:\"
to use the WINEDLLOVERRIDES environment variable to set them.
</para>
<para>
- For example, if you wanted wine to use native ole32.dll,
- oleaut32.dll and rpcrt4 you could run <command>wine</command> like this:
+ Examples:
</para>
<screen>
-<prompt>$</prompt> <userinput>WINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" wine <replaceable>program_name</replaceable></userinput>
+<prompt>$</prompt> <userinput>WINEDLLOVERRIDES="comdlg32,shell32=n,b" wine <replaceable>program_name</replaceable></userinput>
</screen>
<para>
+ Try to load comdlg32 and shell32 as native windows dll first and try
+ the builtin version if the native load fails.
+ </para>
+ <screen>
+<prompt>$</prompt> <userinput>WINEDLLOVERRIDES="comdlg32,shell32=n;c:\\foo\\bar\\baz=b" wine <replaceable>program_name</replaceable></userinput>
+ </screen>
+ <para>
+ Try to load the libraries comdlg32 and shell32 as native windows dlls.
+ Furthermore, if an application request to load c:\foo\bar\baz.dll load
+ the builtin library baz.
+ </para>
+ <screen>
+<prompt>$</prompt> <userinput>WINEDLLOVERRIDES="comdlg32=b,n;shell32=b;comctl32=n;oleaut32=" wine <replaceable>program_name</replaceable></userinput>
+ </screen>
+ <para>
+ Try to load comdlg32 as builtin first and try the native version if
+ the builtin load fails; load shell32 always as builtin and comctl32
+ always as native. Oleaut32 will be disabled.
+ </para>
+ <para>
For more information about DLL overrides, please refer to the <link
linkend="winecfg-dll-overrides">DLL overrides</link> section of this guide.
</para>