I have a void pointer which contains the address of object but I do not which types of this object. My code is like
VARIANT vtProp;
Now getting the value in vtProp using some method. It's have successfully some values.
Now I have assign the value in void pointer
void *ptr = vtProp.pparray;
Now it is getting the some array of object. I need to get the object from the void pointer but when I was displaying the value in void pointer using
wcout << ptr << endl;
It is only displaying the address contains in void pointer.
Could you please suggest me how to print the object name.