I'm wondering if it's possible to do this with Cpp :
void* myPointer;//declare a pointer to a voidsizeof(myPointer[0]); //here, this line won't compile because it's a void*//here, I'm searching code that transforme void* to a DWORD* (for example)//.... ???? ..... sizeof(myPointer[0]); //here, this line will compile and we will have //sizeof(DWORD)=4
I don't know if it's possible to cast a pointer type to another with Cpp...
If you know how, I would be very happy to know that!
Thanks