I have a structure that looks like this:
So it has a pointer to a function in it (if that * is on the wrong side don't worry about it).
I also have a class like this:
I then want to do this:
But I can't do that because im assigning a
myStruct.ptFunction = MyPtrFunction;
bool (__stdcall CONNECTION::*) (void) to a
bool (__stdcall *)(void).
Is there any possible way to assign the CONNECTION::MyPtrFunction to ptFunction? Any help is much appreciated!