Shell32: fix DllGetVersion for newer callers

Robert Shearman rob at codeweavers.com
Tue Sep 14 18:05:15 CDT 2004


Juan Lang wrote:

>A bit better than my last version, load the version
>resource from the file for DllGetVersion, and update
>the version of the file to produce the same output as
>before.
>
>ChangeLog: add support for DLLVERSIONINFO2 in
>DllGetVersion, and get version info from file
>
>--Juan
>  
>
...

>--- dlls/shell32/Makefile.in	11 Aug 2004 23:59:07 -0000	1.84
>+++ dlls/shell32/Makefile.in	14 Sep 2004 17:16:37 -0000
>@@ -4,7 +4,7 @@
> SRCDIR    = @srcdir@
> VPATH     = @srcdir@
> MODULE    = shell32.dll
>-IMPORTS   = shlwapi comctl32 user32 gdi32 advapi32 kernel32
>+IMPORTS   = shlwapi comctl32 user32 gdi32 advapi32 kernel32 version
> DELAYIMPORTS = ole32
> EXTRALIBS = -luuid $(LIBUNICODE)
>

This is *really* ugly. Create a header file with just the version 
numbers defined and import it from the resource file and the file that 
implements the DllGetVersion function and problem solved.

Rob





More information about the wine-devel mailing list