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: [email protected] 
  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://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

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

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

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

Reply via email to