I would like to pass structures to the function call in the DLL. Does Test stand supports passing structured.
I have a function prototype like this
LONG _stdcall ReadData(HANDLE hInstance, pDataStruct Trans);
#pragma pack(push, 1)
typedef struct _DataStruct {
BYTE Type;
BYTE DevAddr;
WORD wMemoryAddr;
WORD wCount;
BYTE Data[256];
} DataStruct , *pDataStruct ;
#pragma pack(pop)
I would like to display the Data filed after the function call.
remaining parameters to the structure are inputs.
Please point me to any tutorial on TestStand that can help me or Give me a detailed instructions on how to configure it.
Thanks in advance.
Lak