Hi,
i'm working on a memory allocation using the NUMA functions on Windows Vista. I'm using VS 2005 for this. My problem is, with the default Windows SDK i retrieve the following error:
Code:
error C3861: 'VirtualAllocExNuma': identifier not found
After a short look i found out, that this SDK hasn't got this method, so i changed to SDK 6.0a which has this function. But when i compile with this SDK i get a whole bunch of errors from WinIoCtl.h
Code:
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(694) : error C2065: 'Size' : undeclared identifier
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(694) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(694) : error C2513: 'int' : no variable declared before '='
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(694) : error C2143: syntax error : missing ';' before '<class-head>'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(710) : error C2143: syntax error : missing ';' before '<class-head>'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(710) : error C2378: 'Size' : redefinition; symbol cannot be overloaded with a typedef
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(813) : error C2143: syntax error : missing ';' before '<class-head>'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(813) : error C2378: 'Size' : redefinition; symbol cannot be overloaded with a typedef
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(845) : error C2143: syntax error : missing ';' before '<class-head>'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(845) : error C2378: 'Size' : redefinition; symbol cannot be overloaded with a typedef
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(976) : error C2143: syntax error : missing ';' before '<class-head>'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(976) : error C2378: 'Size' : redefinition; symbol cannot be overloaded with a typedef
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(1191) : error C2143: syntax error : missing ';' before '<class-head>'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(1191) : error C2378: 'Size' : redefinition; symbol cannot be overloaded with a typedef
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(1258) : error C2143: syntax error : missing ';' before '<class-head>'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(1258) : error C2378: 'Size' : redefinition; symbol cannot be overloaded with a typedef
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\WinIoCtl.h(2122) : fatal error C1012: unmatched parenthesis : missing ')'
Anyone has a guess of how to resolve this?