Original Post
Is it possible to make some kind of caller proc?
I have run-time loaded library and I can get a procedure from it but what if I want to directly call it?
Like:
void CallProc(char* name, ...)
{
FARPROC proc = GetProcAddress(module, name);
// Now I must somehow get amount of parameters in ...
// and pass them to proc;
proc(param1, param2); // Or whatever
}
I am asking : Is this possible?
If it is, how?