Edit

Share via


Compiler Error C3369

'module name': idl_module already defined

Remarks

The idl_module usage where you define the DLL can only occur once in a program.

Example

The following example generates C3369:

// C3369.cpp
// compile with: /c
[idl_module(name="name1", dllname="x.dll")]; // C3369
[idl_module(name="name1", dllname="x.dll")];