Hi,
Il 19/01/22 01:59, Mohamad Al-Jaf ha scritto:
Thanks, it does make it easier and more readable. Doing this causes no warnings:
char *cur; char *ret;
cur = (char*)&test_CurrentIP; ret = (char*)CurrentIP();
This looks fine to me.
Removing WINAPI from the declaration allows it to compile:
extern void *CurrentIP(void);
I don't understand why this is happening. What am I missing?
Neither do I, although the same happens here. Since I doubt many people are still following the thread, I'd suggest resending the patch with all the modifications and removing that WINAPI, with a comment that says that you don't understand why you have to remove it. And hope that somebody more experienced will have something to say.
Giovanni.