The VXIPNP specs require a *.bas file to accompany an IVI driver for the WinNT framework. We're using LabWindows/CVI to create our IVI drivers. But so far we haven't been able to create the *.bas file. I got far enough to get an error message that "cvirte.h" has types that VB can't deal with. But it's the IVI wizard - not I - who's including that file.
Has anyone succeeded in creating the *.bas file, and if so then how?
(My call to National tech support didn't help. The tech I dealt with simply couldn't seem to grasp that the *.bas file is a 'requirement'. He (correctly, I assume) states that it's not needed since VB can now interrogate a DLL. But that doesn't do anything towards complying with the VXIPNP requi rement for a *.bas file.)
Double-click on the ".h" file in the project window to open it. Select Options » Generate Visual Basic Include. Take note of the DLL name in the "Confirm DLL Base Name" windows before you click OK, as you will need to know this file name in a future step. This will create the ".bas" module that will be included in the Visual Basic project.