This documentation is archived and is not being maintained.

Compiler Error C3369

'module name': idl_module already defined

The idl_module usage where you define the DLL can only occur once in a program. For example, the following sample generates C3369.

// C3369.cpp
[idl_module(name="name1", dllname=x.dll)]; // C3369
[idl_module(name="name1", dllname=x.dll)];
int main()
{
}
Show: