OTFeedAPI
For use in Delphi, and other Win32 enviroments.
by Ross Hemingway
HHS Software Corp.
www.hhssoftware.com
Description
The OpenTick SDK comes with a rich set of dll's and libraries for your programming environment. Each of these is built specifically for integration into the development tool (Visual C, Borland BCB, etc). The design of these dll's has C++ classes being passed across the interface. Because a C++ dll function export also includes name mangling or class decoration, which are proprietary, this limits the portability of the supplied dll libraries.
Normal Windows dll's are built to a WINAPI standard, and can be used in almost any development tool or environment. This is the purpose of this dll and API. It can be used in any / all programming tools, just like any of the normal Windows dll's.
This package does just that - gives you a WIN32 standard API. It has a dll that wraps the VC++ OpenTick supplied dll. It removes the class behavior, exports all functions using the stdcall (WINAPI) calling convention. It provides three different ways to receive callback events (your choice).
1/ Define a set of callback functions, fill in a table of pointers to these and set these into the API. They are then called for every event.
2/ Pass a Windows procedure (windproc) handle from your app, and receive all events as a message, with a pointer to the data.
3/ For Delphi - compile supplied component, add to palette, drop onto form and select events from object inspector as usual.
Feb 2007 update. The API was getting outdated and so Alexander Morris of tymoraPRO gave it a revision and updated the API to the current OTFeed state. His update is OTFeedAPI-20070225.zip. You may need both this revision and the original to get all the docs and help info.
Download the (original) API and help file here: OTFeedAPI.zip This includes a Delphi API, and a Delphi component for the palette (all versions), and has C++ lib and h files.
Also for download, a better COM sample (Delphi) of a console app using the OTFeed supplied COM dll. This has the COM events included into the app. sample_console.zip (This is a COM project)