I did a quick test last night, and it seemed to work just fine the way you described it Lazy.
I kept everything in the scruct the same, but I added two ints that hold the parameters, and instead of doing this:
Code:
callerFunc->fooFunc = MyCoolFunc(44, 22);
I do this:
Code:
callerFunc->fooFunc = MyCoolFunc;
Which compiles fine without errors. Then, when I want to exec the function that occupies that array spot, I do this:
Code:
callerFunc->fooFunc(callerFunc->param1, callerFunc->param2);
And at least for the quick test that I did, it ran perfectly, doing exactly what I wanted it to do.
Thanks again for the help!