> 08.04.2011 16:25, Vlad Khorsun wrote: >>> 08.04.2011 15:42, Vlad Khorsun wrote: >>>> Thanks. But, if this is true : "In 64 bit mode, there is only one >>>> calling convention for each >>>> operating system" then we have no problem with interfaces despite of >>>> compiler\language >>>> on x64 systems. >>> >>> Yep, if forget that current FB API, implemented in current fbclient.dll >>> use stdcall and >>> thus Delphi 64 won't be able to work with it. And if you change this >>> calling convention to >>> fastcall, all programs that already work with 64-bits client will be broken. >> >> In Win64 stdcall is the same as thiscall, cdecl, register, fastcall, >> anythingelsecall. > > Translate, please. How is it possible? If caller push arguments into stack > from left to > right but callee expect them from right to left, what magic let them to work > properly?
This is compiler, who put argumets on stack, isn't it ? :) > Or you mean that our 64bits fbclient.dll already uses fastcall only? And > any other > third-party DLLs as well?.. Yes. At least this is how i read papers above. Regards, Vlad ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel