共用方式為


編譯器錯誤 C3140

無法在相同編譯單位擁有多個 'module' 屬性

模組屬性只能為每個項目定義一次。

下列範例會產生 C3140:

// C3140.cpp
// compile with: /c
[emitidl];
[module(name = "MyLibrary")];
[module(name = "MyLibrary2")];   // C3140