Need to retrieve VS_VERSION_INFO for 16, 32, 64 bit windows binaries

Damjan Jovanovic damjan.jov at
Thu Sep 30 06:24:04 CDT 2010

On Thu, Sep 30, 2010 at 11:03 AM, Kapil Arora <karora23 at> wrote:
> Hi,
> I've created a small executable on windows which calls
> GetFileVersionInfo() and VerQueryValue() to extract VS_VERSION_INFO
> from various windows binary files. I want to use this utility under
> wine on linux system. Everything works fine for most of the files but
> for some older dlls I'm not getting correct version information.
> In the wine sources I found some of the functions for previous (16-
> bit) version info extraction to be stubs.
> I tried replacing version.dll in $HOME/.wine/drive_c/windows/system32
> with the one on my windows XP box but nothing happens. I still don't
> get complete information.
> Is there a way to achieve this.
> Thanks,
> Kapil.

After you copy the Windows XP version.dll, set a DLL override for it
in winecfg as well.

Where are these stubs in Wine?

Damjan Jovanovic

More information about the wine-devel mailing list