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 C3172

'module_name': cannot specify different idl_module attributes in a project

idl_module attributes with the same name but different dllname or version parameters were found in two of the files in a compilation. Only one unique idl_module attribute can be specified per compilation.

Identical idl_module attributes can be specified in more than one source code file.

For example, if the following idl_module attributes were found:

// 1.cpp
[ idl_module(name="x", dllname="file.dll", version="1.1") ];

// 2.cpp
[ idl_module(name="x", dllname="file.dll", version="1.0") ];

the compiler would generate C3172 (note the different version values).