Using something along the lines of:
Now I am familiar with the usage of Maps and how to locate entries, but would I then be able to call the function being pointed by through this map?Code:typedef int (*CBACK)(int,DWORD); map<int,CBACK> CBFuncs; // developer calls provided functions to add required callback function pointers to // map, as they need it
I'm quite sure the above wouldn't work, but just trying to show the concept I am getting at. Accessing the pointer to call the actual function. How exactly would this be done, or is it even possible?