private void button1_Click(object sender, EventArgs e) { //MyAddCallBack fun = new MyAddCallBack(Add2); //RegisterCallBack(fun); MyArrayCallBack func2 = new MyArrayCallBack(GetArray); RegisterArrayCallBack(func2); }
public static extern void RegisterArrayCallBack(MyArrayCallBack func);