Find the main winelib app with GetModuleHandle

Malte Starostik malte at
Thu Oct 17 14:30:34 CDT 2002

	Check if the name passed to GetModuleHandle() is the name
	of the main executable. As those normally don't have an extension
	".DLL" was appended and the search failed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: findmodule.diff
Type: text/x-diff
Size: 946 bytes
Desc: not available
Url :

More information about the wine-patches mailing list