windows.h for D
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
windows.h for D projects
Simply include it as a dependency in your dub.json and use the following version tag:
"versions": ["Unicode", "WindowsVista"]
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
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.
- Registered by Etienne Cimon
- 1.0.4 released a year ago
1.0.4 2020-Feb-09 1.0.3 2018-Nov-28 1.0.2 2016-Jan-24 1.0.1 2015-Jun-23 1.0.0 2015-Jun-23
- Download Stats:
499 downloads today
2325 downloads this week
7598 downloads this month
55962 downloads total
- Short URL: