ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Programming Languages  >>  VC++  >>  MFC
 
 


 

 
 MFC interview questions  MFC Interview Questions
 ATL interview questions  ATL Interview Questions
 COM DCOM interview questions  COM DCOM Interview Questions
 Win32API interview questions  Win32API Interview Questions
 ActiveX interview questions  ActiveX Interview Questions
 VC++ AllOther interview questions  VC++ AllOther Interview Questions
Question
1)why we cant create more than one instance of the class
Derived from CWinApp
 Question Submitted By :: Praveer
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 1)why we cant create more than one instance of the class Derived from CWinApp
Answer
# 1
You  theApp object is replace with new name;

Eg

CdlgtestApp theApp;
CdlgtestApp theApp3;  // now this is your applcation obj

CdlgtestApp theApp3;
CdlgtestApp theApp; // No effect
 
Is This Answer Correct ?    0 Yes 1 No
Narayan
 

 
 
 
Other MFC Interview Questions
 
  Question Asked @ Answers
 
What is the use of UpdateData funciton ?  6
Why not virtual functions to handle messages?  2
1)why we cant create more than one instance of the class Derived from CWinApp  1
What is the use of OninitDialog ? HCL7
What is the use of CObject::Dump function ?  4
What function is used to disable a control at runtime?  4
How to handle RTTI in MFC ?  1
What is thread & process? Exaband8
What is the base class for MFC Framework ?  3
What is CArchive class dowes?  3
How to update all the views whenver document got updated ?  1
what are the feauters of CObject Siemens2
How can i implement the dynamic menus in MFC plz give the code  2
If there is more than 100 control in a window how we can change the Taborder of a controls Satyam2
How do you change the properties for a tree view control that is part of the CTreeView class?  1
what is the difference between SDI and MDI Siemens1
How to handle dynamic menus in MFC?  2
In VC++ How to transfer between one exe to another exe while running.. Wipro4
If i derive a new class from CObject what are the basic features my derived wil get ? Microsoft3
What is the difference between the Encapsulation and Abstraction Invensys9
 
For more MFC Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com