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 C3618

'function': a method marked sysimport cannot be defined

Methods marked with sysimport are defined in the specified .DLL.

The following code sample generates C3618:

#using <mscorlib.dll>
using namespace System;

[ sysimport(dll="user32.dll", name="MessageBox", charset="auto")  ]
void Func();

void Func() {   // C3618, remove this function definition to resolve
}

void main() {
}