Follow Us
Contribute
  • Register
Errorbase is a collaborative writing project, that aims to build the largest trouble-shooting guide about all kinds of error messages.

Categories

+1 vote

The address of a function was taken in a context other than the creation of a delegate instance. Ex:

// compile with: /clr
public delegate void MyDel(int i);

ref class A {
public:
   void func1(int i) {
      System::Console::WriteLine("in func1 {0}", i);
   }
};

int main() {
   &A::func1;   // C3374
}

requested by (170k points)
edited by

Please log in or register to to add a solution for this error.

...