To override it you must place between app and dll an additional proxy dll, which would passthrough every call to target dll except particular ones to be overridden. Your app must be linked with proxy dll rather than with target dll made by friend. With that in mind, once you've copied the DLL you just need to tell Wine to try to use it. You can configure Wine to choose between native and builtin DLLs at two different levels. If you have Default Settings selected in the Applications tab, the changes you make will affect all applications. Or, you can override the global settings on a per-application level by adding and selecting an application in the Applications tab.
HiI'm not sure if this is the right forum to ask a question about Winetricks, but I'm going to try anyway since I just can't seem to find a place dedicated to it.
Wine Setup
./winetricks directx9 finishes, but gives a lot of strange feedback which I think isn't supposed to be there. I don't have any games around right now, so I can't see if the thing is working.Winecfg Reset
![Wine dll override code Wine dll override code](/uploads/1/1/2/1/112178139/408453590.png)
(This repeats itself a few hundred times until:)
Code: Select all
Through Google I found out how this is what you might see if you manually install DirectX (without the help of Winetricks) and forget to change WINE's compatibility mode to Windows 2000. That ain't it. II checked every compatibility mode with more or less the same result, a long list of 'err:setupapi:do_file_copyW Unsupported style(s) 0x144'.Is this going to be a problem?