I have a function:
long __stdcall call_DLL(long n, byte s0, byte s1, long(__stdcall *CallBack)(long m, byte s0, byte s1)){
//trying to copy the address of CallBack to another pointer
long *x = &CallBack;
}
I am getting an error:
a value of type "long(__stdcall *CallBack)(long m, byte s0, byte
s1)"cannot be used to initialize an entity of type "long *"
Anyone know how I can do this?