List Info

Thread: Re: __Fastcall and PAscal




Re: __Fastcall and PAscal
user name
2007-01-30 09:44:58
Yes i can control it.
I used C++ Builder.
I wated to use __fastcall as all Events in C++ Builder.

I think i will use stdcall;


  ----- Original Message ----- 
  From: Rob Kennedy 
  To: delphi-en@yahoogroups.com 
  Sent: Tuesday, January 30, 2007 12:18 AM
  Subject: Re: [delphi-en] __Fastcall and PAscal


  mauro russo wrote:
  > what is the Delphi convention call corresponding to
the CBuilder
  > __fastacall?
  > I have to use a C++ DLL and a procedure type is
declared __fastcall.

  If the DLL was compiled with C++ Builder, then the
equivalent is Delphi's
  "register" calling convention.

  If the DLL was compiled with Visual C++, then there is no
equivalent.
  Visual C++ and C++ Builder use different registers for the
fastcall
  calling convention.

  If you have any control over this, please use stdcall, not
fastcall. It
  just makes everything easier when everyone uses the same
thing.

  -- 
  Rob



   


------------------------------------------------------------
------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.5.432 / Virus Database: 268.17.14/658 - Release
Date: 29/01/2007 14.49

  ----------

Questa email è stata verificata dal sistema centralizzato
antivirus della UniPlan Software


[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://group
s.yahoo.com/group/delphi-en/
To unsubscribe: delphi-en-unsubscribe@yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://group
s.yahoo.com/group/delphi-en/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://g
roups.yahoo.com/group/delphi-en/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:delphi-en-digest@yahoogroups.com 
    mailto:delphi-en-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    delphi-en-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )