08-03-2008 11:07 AM - edited 08-03-2008 11:09 AM
08-05-2008 04:27 PM
08-13-2008 09:20 AM
Hi John,
the original declaration of tTestData is in the TS API files - so I don't think the problem is there.
I've manage to create the function panel using the redeclaration but now I cannot create a DLL that include the .fp...
I get the following error -
"Error Creating Type Library:
All structs, unions,and enums required by exported functions must
use typedefs in order to create a type library. The struct/union/enum "IDispatch"
does not use such a typedef"
is there any way to get tTestData struct from TS without giving it as a parameter to the functions?
thanks,
Noa
08-18-2008 11:23 AM
Noa,
I think the problem is tied to the fact that this datatype was not intended to be used in quite this manner. This post goes into some detail that might be relevant. Also you might check this article from the CVI help file. Essentially I think the problem boils down to these types and interfaces weren't quite designed to be used in this manner so we are running into issues because of the strict nature that the type libraries require from us. I still believe this is possible (I will verify) but we may just have to do some extra coding in order to make our code work with these TestStand types.