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