NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2821

first formal parameter to 'operator new' must be 'unsigned int'

The first formal parameter of the near or far forms of the operator new must be an unsigned int. The following sample generates C2821:

void * operator new( /* unsigned int,*/ void * ); // C2821
// in the previous line, remove the comments to resolve

void main() {
}