Announcement

Collapse
No announcement yet.

HELP - which calling convention ? pro and con ???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HELP - which calling convention ? pro and con ???

    Can anyone help me understand the pros and cons of the different calling conventions? I read the help file, and I get the left to right vs right to left parameter passing thing... I also understand the clean up....called vs caller but...

    What I don't understand is why choose one over the other.

    I get that SDECL is "required" for calling the Win API, but beyond that, why would I every use BDECL or CDECL?

    Is there something wrong with using SDECL for everything?

    Would it not make sense to use CDECL for everythign except the WIN API?

    Why do we need BDECL at all?

    etc....

    any help is most appreciated...
    thanks,
    M

  • #2
    XI. Thou Shalt Not Cross-Post.
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      ok

      noted....

      I put it in the wrong place the first time...

      my bad

      M

      Comment

      Working...
      X