View Single Post
  #2 (permalink)  
Old 07-29-2003
bernard's Avatar
bernard bernard is online now
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 834
Hi Alex,

You need to enable RTTI to use dynamic_cast. With Visual C++ 7.0, this is done by compiling with /GR. If you use the Visual Studio .NET IDE, it's an item in [Configuration Properties]/[C/C++]/[Language].

Cheers,
Bernard
Reply With Quote