On Sunday, 1 February 2015 at 11:58:22 UTC, ketmar wrote:
yet dmd still insists on having that `.init`. and there are no non-zero
defaults for winapi bindings, so i'm fine with such hacks. ;-)

Hmm, this:

import win32.winbase; void main() { PROCESS_INFORMATION pi; }

compiles and links for me just with `dmd test2`.

my own
modules are built properly by my build system, so there are `.init`s for
all necessary structs.

You can just add win32/winbase.d or whatever to the compiler command line. rdmd will do this for you if you use that.

Reply via email to