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?
   Or you mean that our 64bits fbclient.dll already uses fastcall only? And any 
other 
third-party DLLs as well?.. I have no experience with 64bits compilers, that's 
why I ask...

>      Do you know that all Win32 API declared with stdcall ? Are you going to 
> say that Delphi
> Win64 applications wiil not be able to work with Win32 API  at all ? :-D

   I don't. The person who said "only one calling convention will be supported 
in 64-bit" 
does.

-- 
   SY, SD.

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

Reply via email to