Implement the ildvxlookup interface – Echelon OpenLDV User Manual

Page 127

Advertising
background image

OpenLDV Programmer’s Guide

119

From the ATL Simple Object Wizard, select the Options page, as shown in

Figure 23.

Figure 23. Visual Studio ATL Simple Object Wizard – Options Page

For optimal performance, select Free as the threading model. This model

requires that your extension be multithread safe, and allows your component to

directly access other xDriver extension components.
Click Finish to close the ATL Simple Object Wizard and create the object.

Implement the ILdvxLookup Interface

From the Visual Studio main window, open the class view window (View →

Class View). From the class view, right-click CSampleLookupCsv and select

Add → Implement Interface to open the Implement Interface wizard, as

shown in Figure 24 on page 120.

Advertising