Edit ActiveX Server Wizard — Import ActiveX Interfaces Panel
You can use this dialog box to import ActiveX interfaces from an existing specification file.
- Specification File Path—The full path of the specification file from which to import. The specification file has a .axs extension.
- Read Interfaces—Reads the ActiveX interfaces from the selected specification file.
- Check Interfaces to Import—The names of the interfaces in the selected specification file. Select the items you want to import. If an ActiveX interface of the same name already exists in the server, the interface will not be imported. Note that the Edit ActiveX Server tool creates new IIDs for the imported interfaces.
- Check All—Selects all items in the imported interfaces list.
- Check None—Deselects all items in the imported interfaces list.
Importing interfaces is useful and timesaving when you develop a number of ActiveX servers that expose the same or similar interfaces. For example, you might build a number of instrument drivers that are ActiveX servers, which all have the same interface for initialization. You can specify the interface for one server, and when specifying the other servers, import the interface from the first server’s specification file. When you import an interface, LabWindows/CVI generates a new Interface Identifier (IID), which is a special GUID required by COM, for the interface so that the importing server and the server you imported from do not depend on each other. The new IID ensures that registration and unregistration of one of the servers does not affect the other. In addition, this decoupling makes it possible for you to modify an imported interface without affecting the server from which it was imported.