Hello!!
I am new to programming and I am finding LabView 6i difficult to work with,
so I am looking at LabwindowsCVI. In working with the tutorials and app notes
I started work on the one cited here and ran into compilation problems. I carefully
worked through steps, but it appears that something is missing.
I get errors like "Operands of = have illegal types 'int' and 'pointer to void' and others,
It was unclear how to deal with the section that deals with the DataSocket.
void dsDataCallback (DSHandle dsHandle, int event, void *callbackData)
{
if (event == DS_EVENT_STATUSUPDATED)
{
HRESULT hr = NOERROR;
char message[1000];
hr = DS_GetLastMessage (dsHandle, message, 1000);
if (SUCCEEDED(hr))
ResetTextBox (panelHandle, MAINPANEL_STATUS, message);
}
}