26.10.2014 Views

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AdfinX</strong> <strong>Real</strong> <strong>Time</strong> <strong>1.0</strong> <strong>Library</strong> - <strong>User</strong>'s <strong>Guide</strong><br />

1. INTRODUCING ADFINX REAL TIME <strong>1.0</strong> LIBRARY<br />

1.1. OVERVIEW<br />

1.1.1. Accessing <strong>Real</strong> <strong>Time</strong> Data<br />

The <strong>Real</strong> <strong>Time</strong> ActiveX Component <strong>Library</strong> (AdxRtxLib) provides a number of components allowing<br />

user applications to retrieve and contribute real time data sources. The components that AdxRtxLib<br />

supplies provide dual interfaces.<br />

While it is compatible with most DDE servers, <strong>AdfinX</strong> <strong>Real</strong> <strong>Time</strong> can also be directly interfaced with<br />

real time data sources, such as <strong>Reuters</strong> Triarch or TIB/Rendezvous.<br />

Four data object components are provided. These are AdxRtList, AdxRtContribute,<br />

AdxRtHistory and AdxRtChain.<br />

1.1.2. Settings File<br />

To fit <strong>AdfinX</strong> <strong>Real</strong> <strong>Time</strong> to your needs, the file m_rtuser.dat holds user data settings related to real<br />

time. This file allows the user to define <strong>Real</strong> <strong>Time</strong> drivers, field separators, and the path for the log file.<br />

1.2. HOW TO USE ADFINX CONTROLS<br />

1.2.1. Usage<br />

Registration<br />

Following are the main ways to reference <strong>AdfinX</strong> controls in different languages:<br />

Visual Basic<br />

To be able to use the components from the Visual Basic IDE, use the “Project Components…”<br />

menu item, and, in the “Controls” property page tab of the dialog, tick the entry for the “<strong>AdfinX</strong> <strong>Real</strong><br />

<strong>Time</strong> Type <strong>Library</strong>” — this will add the four <strong>Real</strong> <strong>Time</strong> objects to your component toolbox. You will be<br />

able to find them with the Object Browser too.<br />

VBA (Microsoft Excel)<br />

On the Tools menu, click References and then select the modules you want to use. Click OK.<br />

VBA (Microsoft Visual Basic)<br />

On the Project menu, click References and then select the modules you want to use. Click OK.<br />

In order to use the <strong>AdfinX</strong> <strong>Real</strong> <strong>Time</strong> controls in your application, you must then:<br />

On the Project menu, click Components and then select the modules you want to use. Click OK.<br />

C++ (Microsoft Visual C++)<br />

Use the #import directive to incorporate information from a type library which describes the COM<br />

interface.<br />

For example, the <strong>AdfinX</strong> <strong>Real</strong> <strong>Time</strong> module is referenced as follows:<br />

#import “..\\..\\..\\rtx.dll<br />

7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!