Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how do u identify RTTI in vc++

Answers were Sorted based on User's Feedback



how do u identify RTTI in vc++..

Answer / amol vaidya

Check if class is derived directly or indirectly from
CObject. CObject provides facility of RTTI.

With this functionality enable IsKindof like functions can
be used and utilised any where for that object.

Is This Answer Correct ?    13 Yes 2 No

how do u identify RTTI in vc++..

Answer / zero zero...

Check if class is derived directly or indirectly from
CObject. CObject provides facility of RTTI check to its
derived classes.

&#61558; DECLARE_DYNAMIC and IMPLEMENT_DYNAMIC, permit run-
time access to the class name and its position in the
hierarchy. This, in turn, allows meaningful diagnostic
dumping.

&#61558; CObject::IsKindOf function to determine the class
of your objects at run time.

Is This Answer Correct ?    8 Yes 1 No

how do u identify RTTI in vc++..

Answer / santhosh

with the help of IsKindOf function is used to achieve RTTI.

Iskindof function is used to test the objects relationship to the given class.

this function works only for a class delared the below macros,
- DECLARE_DYNAMIC
- DECLARE_DYNCREATE
- DECLARE_SERIEL

Is This Answer Correct ?    0 Yes 0 No

how do u identify RTTI in vc++..

Answer / raghavender

In VC++ compiler project properties->C/C++ ->language-
>Enable Runtime Information to YES (/GR) compiler option

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More MFC Interview Questions

List out the parameters of WinMain Function.

2 Answers   Mphasis,


What is the base class for MFC Framework ?

4 Answers  


What is the difference between Struts and JSF? Pls list some most suitable differences.

0 Answers  


1) How do you Destroy a Dialog Box ?

2 Answers   Honeywell,


What is the difference between the Encapsulation and Abstraction

25 Answers   HCL, Invensys, TCS, Wipro,


Tell me the different controls in MFC ?

5 Answers  


if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?

2 Answers   Patni,


Does the application have more than one object? If no, then what is the reason?

5 Answers  


How to handle dynamic menus in MFC?

3 Answers   HCL,


Explain Doc/View architecture

6 Answers   Huawei,


how does the UIThread and worker thread communicates and handle events

2 Answers   HCL,


1)How to change a text of a button in runtime?

2 Answers  


Categories