Posted 12 August 1999 - 03:33 AM
I found a way to do this using __cdecl directive. For example, i'm declaring my function like that:
void* __cdecl map_real_pointer(word,word);
But how i can do this with system functions and functions placed in other modules?
I'm compiling my code using register calling conversion (-5r switch - parameters passed thru registers) for generation faster and smaller code and i need to force parameters to be passed thru stack for some my own and some system functions. How i can do this?