Jump to content

  • Log In with Google      Sign In   
  • Create Account

Forcing stack calling conversion in Watcom C++


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 FlyFire   Members   -  Reputation: 122

Like
Likes
Like

Posted 12 August 1999 - 03:33 AM

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?
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?

FlyFire/CodeX
http://codexorg.webjump.com


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS