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 C3370

'idl_module name': idl_module not yet defined

Before you can use idl_module to specify an entry point in a DLL, you must first use idl_module to specify the DLL name.

For example, the following sample generates C3370:

 [module(name=MyLibrary)];
// uncomment the following line to resolve the error
// [idl_module(name="name1", dllname=x.dll)];
[idl_module(name="name1"), entry(100)]
int f1();

void main(){
}