Export (0) Print
Expand All
Expand Minimize

Compiler Error C3624

'class': the compiler cannot find this type; it is defined in the assembly 'assembly'

An assembly (reference) needed to compile your code was not specified; pass the assembly to the #using directive.

The following sample generates C3624:

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

// uncomment the following line to resolve
// #using <system.dll>

public __gc class MyForm : public System::Windows::Forms::Form
{   // C3624

int main()
© 2014 Microsoft