'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(){ }