NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

IDispatch definition conflict

Please see attached file.
0 Kudos
Message 1 of 2
(2,800 Views)
Hi,

Firstly, I was wondering why you were creating a type library for a function that I assume is going to be called using the CVI Standard Prototype Adapter from TestStand. Since the prototype is fixed, there is no real benefit to creating a type library. You simply need to export the function.

However, if you wish to fix this, you should be able to simply add "typedef" to the IDispatch declartion inside of the stdtst.h header file. This should take care of the error.

Please let me know if this works, and why it is that you are creating a type library. Thanks!

Bob
0 Kudos
Message 2 of 2
(2,800 Views)