Hi,
i have a function and want to set its address manually ie to 0x470001.
How can I do that?
I have tried:
[CODE]
typedef void (* pEF(unsigned char* arg1, unsigned char arg2, unsigned int arg3));
pEF decodeErrorCode;
unsigned int pAddr = 0x473a4a;
decodeErrorCode = reinterpret_cast<pEF>(pAddr);
[\CODE]
regards,
bodz







