[Tips]StdCall pascal cdecl 区别

类别:Delphi 点击:0 评论:0 推荐:

StdCall pascal cdecl 区别:参数传入Stack的顺序有所不同

Directive Parameter order Clean-up    Passes parameters in registers?
register     Left-to-right     Routine               Yes
pascal        Left-to-right         Routine             No
cdecl         Right-to-left     Caller                 No
stdcall     Right-to-left     Routine                 No
safecall Right-to-left         Routine         No

整理:lzcx

本文地址:http://com.8s8s.com/it/it4849.htm