04-27-2011 12:46 PM
I am trying to write an array that is of type ViByte to table string. If I typecast then I receive 'General Protection' fault at 001B:68561DF7 error. The variable has to be of ViByte to start with. Here is the snippet of code:
Table is 5 col x 32 rows and need to write this data in the 1 column.
TIA.
04-28-2011 06:13 AM
I think following statement
SetTableCellVal (panel, control, MakePoint(column_index, (row_index+1)), Data+row_index);
should be replaced by
SetTableCellVal (panel, control, MakePoint(column_index, (row_index+1)), *(Data+row_index));
Regards