Looks like this is a problem with the CVI wizard. I have filed a corrective action request for this problem. You cannot use the raw C++ interfaces CVI, since CVI is a C compiler. For a more immediate workaround, you might try creating a wrapper for the dll using VB and VC++. This probably does not have to with the fact that its not a UI control. It seems to use some custom datatypes and I noticed the VC++ classwizard seems to skip generating wrappers for some of the functions as well.
The headers generated by the classwizard seemed to be littered with statements like the following:
// method 'GetLastStreamStandardBlockEx' not emitted because of invalid return type or parameter type
// method 'GetLastStreamCustomBlockEx' not emitted because of invalid retur
n type or parameter type.
The wrapper would be the fastest way around this though.
Bilal Durrani
NI
Bilal Durrani
NI