building Windows kernel-mode drivers in D
Dominikus Dittes Scherkl via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 25 12:14:44 PDT 2015
On Friday, 25 September 2015 at 15:17:02 UTC, Cauterite wrote:
[...]
> mydriver.d :
> pragma(startaddress, DriverEntry);
> extern(Windows) int DriverEntry(void*, void*) {return 0;};
>
> build.cmd :
> dmd -L/exetype:nt -L/subsystem:native -ofmydriver.sys
> mydriver.d
> checksum.exe mydriver.sys -fix
>
> I'll continue this guide as soon as I have time.
Cool.
This is really helpful, especially the checksum part.
More information about the Digitalmars-d
mailing list