What's up with the windows headers?

dnewbie run3 at myopera.com
Wed Dec 26 14:05:03 PST 2012


On Wednesday, 26 December 2012 at 21:56:31 UTC, Phil Lavoie wrote:
> All right I got a problem now.
> Including winver.d triggers the inclusion of version.lib 
> through this:
> pragma(lib, "version.lib");
> However, this import library does not exist. So I created it 
> using,implib /noi /system version.lib ...\System32\version.dll 
> then moved it to the dmd\windows\lib folder.
> Now when running using rdmd I get this error message:
> --- errorlevel 1
> Which means... WHAT?!?!?!?!
>
> Thanks for any help


If you have the Windows SDK:

cd C:\D\dmd2\windows\lib\
coffimplib "C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A\Lib\version.lib"  version.lib


More information about the Digitalmars-d mailing list