'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.
[idl_module(name="name1", dllname=x.dll)]; [idl_module(name="name1", dllname=x.dll)]; void main(){ }