no size for type nothrow extern (Windows) int()

cal callumenator at gmail.com
Sat Nov 10 17:49:26 PST 2012


I want to call Windows api function VirtualAlloc. I include 
std.c.windows.windows but get the following error from dmd 2.061 
(and 2.060):

Error: no size for type nothrow extern (Windows) int()

What does this message mean? If I provide my own prototype of the 
function, same error.




More information about the Digitalmars-d-learn mailing list