Unresolved external symbol, with home-made delegate
问题 I have a function Foo which takes a 2-parameter function as a parameter: void Foo(void (*fcn)(int, int*)); However, the type of function which I want to pass in ( func ) only takes 1 parameter * . typedef void (__stdcall *FuncCallBack)(int a); void Caller(FuncCallBack func) { Foo(????); } In C#, I would do something like: Foo((a,b) -> func(a)); I'm trying to do something similar with a delegate class (having worked out that I can't have a pointer to a bound member function, I've switched to