Click here to Skip to main content
15,913,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
Jose Lamas Rios26-Jun-05 11:28
Jose Lamas Rios26-Jun-05 11:28 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
Pazzuzu5-Jul-05 1:20
Pazzuzu5-Jul-05 1:20 
GeneralCList For Non CObject derived class (vs CTypedPtrList) Pin
yccheok24-Jun-05 23:11
yccheok24-Jun-05 23:11 
GeneralRe: CList For Non CObject derived class (vs CTypedPtrList) Pin
ThatsAlok25-Jun-05 1:06
ThatsAlok25-Jun-05 1:06 
GeneralStrange dynamic_cast problem Pin
yccheok24-Jun-05 22:11
yccheok24-Jun-05 22:11 
GeneralRe: Strange dynamic_cast problem Pin
squidev25-Jun-05 8:18
squidev25-Jun-05 8:18 
GeneralRe: Strange dynamic_cast problem Pin
yccheok25-Jun-05 19:41
yccheok25-Jun-05 19:41 
GeneralRe: Strange dynamic_cast problem Pin
squidev26-Jun-05 3:50
squidev26-Jun-05 3:50 
In VC++ 6.0:

Go to Project->Settings...
Go to the C/C++ tab
Category = C++ Language
Check the box "Enable Run-Time Type Information (RTTI)

Set this to both Debug and Release

This makes your exe slightly bigger (not that much), but it allows you to query the types of the objects you're using, and use dynamic_cast.

Watch out for name clashes when using multiple inheritence. If you really need to use this, make sure the base classes do not have methods with the same name (and the base classes' base classes...).

Hope this helps
GeneralRe: Strange dynamic_cast problem Pin
yccheok26-Jun-05 5:25
yccheok26-Jun-05 5:25 
GeneralIPersistStream[Init] Pin
CodingBadger24-Jun-05 16:47
CodingBadger24-Jun-05 16:47 
GeneralDisabling console Pin
Anonymous24-Jun-05 15:48
Anonymous24-Jun-05 15:48 
GeneralRe: Disabling console Pin
Nathan Addy25-Jun-05 8:07
Nathan Addy25-Jun-05 8:07 
Questionhow to download a web page with pictures Pin
Mohsen Saad24-Jun-05 14:43
Mohsen Saad24-Jun-05 14:43 
AnswerRe: how to download a web page with pictures Pin
Ravi Bhavnani24-Jun-05 16:53
professionalRavi Bhavnani24-Jun-05 16:53 
GeneralRemoving references to expired user accounts Pin
aravinthv24-Jun-05 11:35
aravinthv24-Jun-05 11:35 
GeneralRe: Help wanted with TC_ITEM Pin
Jose Lamas Rios24-Jun-05 17:07
Jose Lamas Rios24-Jun-05 17:07 
GeneralRe: Help wanted with TC_ITEM Pin
cgb14328-Jun-05 5:35
cgb14328-Jun-05 5:35 
GeneralNeed help solving Printing Bug Pin
Jorgen E.24-Jun-05 10:22
Jorgen E.24-Jun-05 10:22 
GeneralRe: Need help solving Printing Bug Pin
Jose Lamas Rios26-Jun-05 18:24
Jose Lamas Rios26-Jun-05 18:24 
GeneralWierd Spy++ issue Pin
Abhishek Karnik24-Jun-05 10:18
Abhishek Karnik24-Jun-05 10:18 
GeneralNeed help solving Bug when opening files Pin
Jorgen E.24-Jun-05 10:08
Jorgen E.24-Jun-05 10:08 
GeneralDisable edit box in dialog Pin
arkady460724-Jun-05 9:19
arkady460724-Jun-05 9:19 
GeneralRe: Disable edit box in dialog Pin
Jose Lamas Rios24-Jun-05 9:21
Jose Lamas Rios24-Jun-05 9:21 
GeneralRe: Disable edit box in dialog Pin
arkady460724-Jun-05 9:50
arkady460724-Jun-05 9:50 
GeneralRe: Disable edit box in dialog Pin
toxcct25-Jun-05 4:10
toxcct25-Jun-05 4:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.