On 2/16/2014 4:20 PM, Denis Mezhov wrote: > On Sunday, 16 February 2014 at 07:17:48 UTC, Denis Mezhov wrote: >> extern (Windows) >> void main(string[] args) >> { >> HMODULE h; I'm curious why you're declaring your main method as extern(Windows).