wrote:
> information. But what makes me think twice about the corectness of the
> previous sentence is that this code compiles perfectly under Visual
> Studio 6.
VC6 reports the same error when 'dynamic_cast' is applied to a 'void*'
expression.
This means that it is absolutely impossible to figure out why it
compiled in VC6 from the information you provided so far. It could be
that in VC6 the expression was not 'void*' somehow. Or it could be that
in VC6 the macro was actually mapped to 'static_cast'. Or something else.
--
Best regards,
Andrey Tarasevich