首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C语言 >

请教_cdecl和_stdall在调用上有什么区别

2012-02-28 
请问_cdecl和_stdall在调用上有什么区别?万分感谢[解决办法]__cdeclRight to left.Caller removes argumen

请问_cdecl和_stdall在调用上有什么区别?
万分感谢

[解决办法]
__cdecl
Right to left.
Caller removes arguments from the stack. This calling convention is the only one that allows variable argument lists.
Underscore prefixed to function names, as in _Foo.

__stdcall
Right to left.
Callee removes its own arguments from the stack.
Underscore prefixed to function name, and @ appended followed by the number of decimal bytes in the argument list, as in _Foo@12.

热点排行