Create a custom xdriver profile – Echelon OpenLDV User Manual

Page 130

Advertising
background image

122

Extending xDriver

Project : error PRJ0050: Failed to register output. Please

try enabling Per-user Redirection or register the component

from a command prompt with elevated permissions.

Start an elevated command shell (right-click the Visual Studio 2008 Command

Prompt shortcut and select Run as administrator), change to the folder that

contains your built DLL, and run the following command:

REGSVR32 SampleLookup.dll

Create a Custom xDriver Profile

Use the OpenLDV xDriver Profile Editor to create a custom xDriver profile for

your custom xDriver lookup extension.

1. Select Start → Echelon OpenLDV 4.0 SDK → Developer Utilities →

xDriver Profile Editor to open the OpenLDV xDriver Profile Editor.

2. Click Add to open the New Profile dialog, as shown in Figure 25.

Figure 25. xDriver Profile Editor New Profile Dialog

3. Enter a profile name (“Sample” for this example) in the Profile Name

field.

4. Click OK to close the New Profile dialog.
5. For the General tab of the OpenLDV xDriver Profile Properties dialog for

the new profile, enter a description in the Profile Description text box, as

shown in Figure 26 on page 123.

Advertising