Echelon LNS User Manual

Page 349

Advertising
background image

LNS Programmer's Guide

335

1. Open

the

lcaobjsv3.h file. From the Edit menu, select Replace. In the

Find what field, enter “ILca.” Note that the first two letters are

capitalized. In the Replace with field, enter “Lca.” Note that the first

letter is capitalized.

2. Click

Replace all, and then save the changes to the file.

3. Open

the

LcaObjSv.cpp file, and make the same change to this file as

described in steps 1 and 2. The class wrappers are now complete, with all
LNS Turbo Edition features available.

Finally, you need to add the following statements to your project before the start of your
code. Note that you need to reference the complete path of the lcaobjsv.ocx file in this

statement. This should match the setting of the Path to control field in step 6.

#import "c:\lonworks\bin\lcaobjsv.ocx" rename_namespace("lns")

using namespace lns;

Advertising