Echelon OpenLDV User Manual Page 128

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 127
120 Extending xDriver
Figure 24. Visual Studio Implement Interface Wizard
Within the Implement Interface wizard, select Echelon OpenLDV xDriver 1.0
Type Library from the Available type libraries dropdown listbox. For the
Implement interface from radio button, specify either Registry or File. If
you specify File, specify \LonWorks\bin\Ldvx.tlb for the Location.
For your custom lookup extension component, implement the following
interfaces:
ILdvxLookup
ILdvxConfigure (optional)
Within the SampleLookupCsv.h header file, implement the methods for
ILdvxLookup and ILdvxConfigure. That is, replace the return E_NOTIMPL
stub code with your own extension-specific code. You code must return COM
success or failure codes to xDriver. See the xDriver Lookup Example (Start
All Programs Echelon OpenLDV 4.0 SDK Examples & Tutorials) for
example implementations.
// ILdvxConfigure Methods
public:
STDMETHOD(SetInstance)(BSTR instance)
{
return E_NOTIMPL;
Page view 127
1 2 ... 123 124 125 126 127 128 129 130 131 132 133 ... 193 194

Comments to this Manuals

No comments