[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] DLL interface



PureBytes Links

Trading Reference Links

Hi,

Thank you. A quick question: does Delphi handle different calling
conventions like _stdcall, _cdecl, _fastcall ?

Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com

----- Original Message ----- 
From: "Daniel Ervi" <trader@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, September 22, 2001 5:46 PM
Subject: RE: [amibroker] DLL interface


> Tomasz,
> 
> Count me in on testing the Delphi .DLLs for you. I have a number of
> .DLL functions that I wrote for Neuroshell Trader in Delphi that would
> be very simple to port over to AmiBroker.
> 
> I also use C++, so if you need any beta-testing help let me know!
> 
> Daniel
> 
> -----Original Message-----
> From: Tomasz Janeczko [mailto:amibroker@x...] 
> Sent: Saturday, September 22, 2001 3:36 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] DLL interface
> 
> Hello,
> 
> In this e-mail I want to present you some features of a DLL plugin
> interface
> being developed for version 3.8. I would like to know your thoughts
> about
> it before I close the specification.
> 
> The purpose of AmiBroker's plugin interface is to allow to extend AFL
> built-in function set
> by any user or third party software vendor.
> 
> Main goals are:
> 1. speed - there will be virtually no performance differences between
> internal and external
> functions
> 2. simplicity - 
> a) the interface is very simple, flat API-like (no COM for now). 
> b) writing plugins will be as easy as adding a new function(s) to a
> sample C project
> c) Installation of a plug-in will be as easy as just copying the DLL
> into "Plugins" directory
> 3. tight integration with AFL engine - 
> a) external functions will be available directly from
> AFL without the need to call any additional function like ExtFml.
> b) all external functions will be highlighted properly in a new
> syntax coloring editor
> c) AFL engine will check types of parameters passed to the external
> function
> d) ability to call-back any built-in AFL function from within
> external DLL (this includes
> also calling functions from one external DLL to another)
> e) ability to overwrite built-in functions
> 
> For technical reasons (mainly point 3.) plugin DLLs will have to be
> written in some flavour
> of C/C++ language. Visual C++ 6 is preferred, however free compilers
> like PGPP (GNU) and
> free Borland C/C++ 5 compliers will be supported also. It is yet to be
> tested if it is possible
> to write compatible DLLs using Delphi.
> 
> Visual Basic and other COM-only languages will not be supported at this
> stage.
> COM-based interface is planned later (next year).
> 
> Best regards,
> Tomasz Janeczko
> ===============
> AmiBroker - the comprehensive share manager.
> http://www.amibroker.com
> 
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/ 
> 
> 
> 
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
>