> At April-08-11, 3:56 AM, Vlad Khorsun wrote: > >>> And, I've just learned that the new >>> Delphi 64-bit compiler(hopefully released later this year) will only >>> use fastcall for DLL interfaces(even Microsoft has that same >>> restriction for 64-bit). > >> Where can i read about it ? Because i doubt fastcall is *only* supported >> calling convention in Win64. Moreover, in COM. According to MSDN __fastcall >> is MS-specific while COM have more wide scope. So, there is no possibility to >> use anything else then stdcall in IUnknown despite of 32\64 bitness. > > https://forums.codegear.com/thread.jspa?threadID=52117 > http://msdn.microsoft.com/en-us/library/ms235286.aspx > http://www.embarcadero.com/products/delphi/64-bit (Here it is > mentioned in the video presentation that only one calling convention > will be supported in 64-bit, but unfortunately doesn't specifically > mention which one. Which is where the speculation of fastcall/register > originates, as mentioned in the Delphi forum thread, most likely > because of the MSDN documentation.) > > And, here's another document that I found: > http://www.agner.org/optimize/calling_conventions.pdf > Look on page 16, in the paragraph starting with "Calling convention", > the last line refers to 64-bit mode.
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. I have no doubt it is true on Windows and modern Linuxes but have no idea about HPUX, AIX, Solaris, etc... 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