分享方式:


編譯器錯誤 C3624

'type': 使用此類型需要元件 'assembly' 的參考

未指定編譯器代碼所需的元件(參考):將元件傳遞至 #using 指示詞。

範例

下列範例會產生 C3624:

// C3624.cpp
// compile with: /clr /c
#using <System.Windows.Forms.dll>

// Uncomment the following 2 lines to resolve.
// #using <System.dll>
// #using <System.Drawing.dll>

using namespace System;

public ref class MyForm : public Windows::Forms::Form {};   // C3624