Thanks for the reply. I have used malloc before successfully. I tried
using 'NumericArrayResize' but it seems to want a pointer to a handle
of 'unsigned char' but my data is a numeric array. For intance if i
have the following:-
typedef struct {
long dimSize;
double elt[1];
} TD3;
typedef TD3 **TD3Hdl;
TD3Hdl *Tach
noErr = NumericArrayResize(fD, 1, Tach, 80000);
..
It does not compile i get the following error:-
error C2664: 'NumericArrayResize' : cannot convert parameter 3 from
'TD3 *** ' to 'unsigned char *** '
Don't know what i am doing wrong here?