I have what I thought should be a very simple snippet of code to write, though I\'m unable to compile for a reason which I do not understand.
The following simplifie
Name of array indicates it's base address, so if you just write buffer, it means address of buffer[0]. If you are using &buffer, you need to take it in char** not in char *.
So,
char* pBuffer = buffer;
Would be correct as suggested.