I’ve little problem :
I’m solving problem with calling function by pointer and passing to it parameters in continuous memory block.
My goal is to have function named e.g
CallFunc(void * func,void *params, unsigned int param_length);
that I’ll send function pointer, pointer to function’s parameters and eventually parameters length and this calling function will call passed function with it’s parameters.
I will like write this in C/C++, but if somebody has idea, how this resolve in other language, that supports DLL generation and exportet functions, it will be fine too.
Thanks for answers,
Ellesmess
P.S. > I’m sorry about my English, but I’m Czech, thanks :o)
Ok, another try 🙂
Again I’m not sure this is what you need + I believe that you need to change your code style(because from your question I’m filling that you are doing something vary strange).
And here is my solution: