On Monday, 4 March 2013 at 16:28:36 UTC, D-ratiseur wrote:
Ok, thx, I've created the prototype and also tried to dynamicallylink the method. It's true that SetEndOfFile is not used at all in Phobos, that's explain well why the proto is not declared.
Note you shouldn't need to dynamically link, dmd will link against Kernel32.lib anyway. Declaring the proto is enough.