共用方式為


編譯器錯誤 C3139

'struct' : 無法匯出不含成員的 UDT

您嘗試將 匯出 屬性套用至空的 UDT (使用者定義類型)。 例如:

// C3139.cpp
#include "unknwn.h"
[emitidl];
[module(name=xx)];

[export] struct MyStruct {   // C3139 empty type
};
int main(){}