03-22-2007 09:44 AM
I have a function, Ex. FindMax(CNiReal64Vector*, double* MaxValue), in DLL and I expect TestStand to call this function using DLL Flexible Prototype Adapter. Unfortunately I couldn't expose this function in .odl from DLL because MIDL compiler can't recognize CNiReal64Vector. TestStand can recognize certain custom type parameter that are defined by GUIDs. But I searched the NI web site and didn't find the GUID for CNiReal64Vector.
I understand I can use regular double array and array size to pass data between DLL and TestStand. However it would be nice if CNiReal64Vector can be accessed through Flexible Prototype Adapter. Or something like SAFEARRAY can be used by both TestSatand and DLL?
Anybody can give me better idea?
Kathy
03-23-2007 10:36 AM