I am getting the following error when trying to compile a DLL for the NI 5122 digitizer using CVI:
Error creating type library:
All structs, unions, and enums required by exported functions must be typedefs in order to create a type library. The struct/union/enum "niScope_wfmInfo" does not use such a typedef.
I have created a variable and "typedefed" it as niScope_wfmInfo to try and get rid of this error. This did not work. I have tried making several other changes. Some have eliminated the error but created problems with the DLL.
Has anyone had a similar error to this? If so, how did you get around it?
Thanks,
Heather