On 11-11-2012 02:49, cal wrote:
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.



Can you give a self-contained repro that illustrates the problem?

Also, please use core.sys.windows.windows instead. The std.c.* package is going to be deprecated soon-ish.

--
Alex Rønne Petersen
a...@lycus.org
http://lycus.org

Reply via email to