03-22-2006 11:54 AM
03-22-2006 12:05 PM
03-22-2006 12:25 PM
Here's the entire piece. I don't understand what I am missiing???
int DLLEXPORT DLLSTDCALL ALVR_TS_GetBootParameters (int instrumentHandle, CAObjHandle context)
{
int error = 0;
ERRORINFO errorInfo;
ErrMsg errMsg = {'\0'};
int flag = 0;
char *stringVal = NULL;
TS_PropertyGetValString(context, &errorInfo, "Locals.WxcTestParms.BootDevice", 0, &stringVal);
strcpy(sysInfoStruct.BootDevice, stringVal);
03-22-2006 12:37 PM
I got it...
Thanks
Needed the
Error:
CA_FreeMemory(stringVal);
if (error < 0)
{
MessagePopup ("Error", errMsg);
return TEST_FAIL;
}
else
return TEST_PASS;