Hi all.
I have a function in C++ that I call with its memory address with typedef, and I want to do the same thing in Delphi.
typedef void (*function_t)(char *format, ...);
function_t Function;
Function = (function_t)0x00477123;
And then, I call it with: Function("string", etc);
I tried to do this in Delphi, but got no results.
Is there any way to do this without using "asm" in Delphi?
If so, please give me a example code.
Thanks.