Create DLL stub files in c:\windows\system

Hans Leidekker hans at it.vu.nl
Sat Sep 4 08:15:33 CDT 2004


On Saturday 4 September 2004 14:25, Mike Hearn wrote:

> Make apps that search for the DLL files directly happy by creating empty
> files for each shipped library

There are applications (eDonkey is one of them IIRC) that call
LoadLibray() themselves on a number of DLLs. Could be that they do
their own linking as part of some anti-debugging technique, I don't
know, but it's perfectly legal for application to do that anyway.

For these apps having empty DLL files will not be enough. I actually
was able to fool the app by putting MinGW cross compiled Wine DLLs in
the system directory until it needed kernel32.dll, which doesn't compile.
I had to resort to a native win2k kernel32.dll to get it past this but
this may still be a good alternative to your empty DLL files. 

 -Hans



More information about the wine-devel mailing list