Hi,
I have to pass a void pointer in a function and at the other end I have to read some values from this void pointer.
I planned of creating a class and setting up required variables into an object and then I set this
void* ptr = obj
when I read it on the other end I am getting the following error:
"error: 'void*' is not a pointer-to-object type"
some one please help!