Pelles C forum

C language => Expert questions => Topic started by: lesliedellow on October 27, 2011, 07:19:56 PM

Title: 64 bit calling convention
Post by: lesliedellow on October 27, 2011, 07:19:56 PM
Unless my memory deceives me, the 64 bit version of Pelles C used to pass arguments in the ecx and sdx registers, but typing pocc /?, in the version I downloaded just now, seems to suggest that __cdecl is the standard calling convention. Has it changed I wonder, or is my memory failing me?
Title: Re: 64 bit calling convention
Post by: CommonTater on October 27, 2011, 08:33:16 PM
cdecl is the standard for 32 bit Console programs.

32 bit winAPI uses stdcall

64 bit is fastcall