Is there any way I can get the type of a pointer to a struct?
This is a discussion on Determine type within the Windows Programming forums, part of the Platform Specific Boards category; Is there any way I can get the type of a pointer to a struct?...
Is there any way I can get the type of a pointer to a struct?
If it's from a void*, no.
Otherwise, you can use RTTI
gg