Say I have the Memory Address of a function, and I know the return type and the paramter types, how can I call it?
I tried something like this:
Oh ya, the function would have to be called by a DLL that has been loaded by the process.Code:typedef void(*TESTFUNCTION)(void);
...
TESTFUNCTION Test = (TESTFUNCTION)0x00400000 <--- not real address
Test();