Compiler Error C3140
cannot have multiple 'module' attributes in the same compilation unit
The module attribute can only be defined once per project.
The following sample generates C3140:
// C3140.cpp
// compile with: /c
[emitidl];
[module(name = "MyLibrary")];
[module(name = "MyLibrary2")]; // C3140
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for