windows-headers 1.0.5
windows.h for D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
windows-headers
windows.h for D projects
Simply include it as a dependency in your dub.json and use the following version tag:
Unicode
, WindowsVista
e.g.
"versions": ["Unicode", "WindowsVista"]
also available:
Windows10
, Windows8_1
, Windows8
, Windows7
, WindowsNTonly
, WindowsXP
, Windows2003
It is recommended to compile with --arch=x86_64
to use mscoff (the windows linker). You can add "dflags-windows-x86": ["-m32mscoff"]
to your application's dub.json and compile with the --arch=x86
dub option to force the windows linker on x86 applications. However, you must compile the 32mscoff druntime/phobos libraries manually and place them in C:\D\dmd2\windows\lib32mscoff
. You can compile them by using BUILD=32mscoff
in win64.mak
and changing the library paths to 32 bit windows kits.
Your copy of DMD must be installed with visual studio on the computer to have the microsoft linker automatically configured. This configuration is located in C:\D\dmd2\windows\bin\sc.ini
by default.
If you compile with optlink OMF (the DMD linker used by default on x86 builds) you will need to convert the missing DLL headers into OMF import libraries manually, using implib.
- 1.0.5 released a year ago
- etcimon/windows-headers
- Boost
- Authors:
- Dependencies:
- none
- Versions:
-
1.0.5 2023-Feb-25 1.0.4 2020-Feb-09 1.0.3 2018-Nov-28 1.0.2 2016-Jan-24 1.0.1 2015-Jun-23 - Download Stats:
-
-
5 downloads today
-
75 downloads this week
-
351 downloads this month
-
148542 downloads total
-
- Score:
- 4.5
- Short URL:
- windows-headers.dub.pm