void* pvbits;
I know for sure that pvbits indicates the beginning of an array of 600 * 800 elements of the structure type, consisting of 3 variables of type BYTE. Next, I write:
typedef TRGBTriple pixa[480000]; pixa* pix;
How now to make pix point in the same direction as pvbits. I tried this:
pix=pvbits; //Error: not an allowed type