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   To Refer this Site to Your Friends   Click Here
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
What is the initial function to be called in MFC and what 
it will do
 Question Submitted By :: K.ramaswamy
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the initial function to be called in MFC and what it will do
Answer
# 1
The WinMain function is called by the system as the initial 
entry point for a Windows-based application. It initializes 
the application, display its main window, and enter a 
message retrieval-and-dispatch loop that is the top-level 
control structure for the remainder of the application's 
execution.
 
Is This Answer Correct ?    7 Yes 1 No
Abhishek Soni
 
  Re: What is the initial function to be called in MFC and what it will do
Answer
# 2
The question was for MFC and its InitInstance.
 
Is This Answer Correct ?    3 Yes 0 No
Iridium
 
 
 
  Re: What is the initial function to be called in MFC and what it will do
Answer
# 3
CWinAPP is the first function to be called.
 
Is This Answer Correct ?    0 Yes 5 No
Aeganesan
 
  Re: What is the initial function to be called in MFC and what it will do
Answer
# 4
InitApplication and InitInstance functions gets called 
first by WinMain
 
Is This Answer Correct ?    1 Yes 0 No
Zerozero
 
  Re: What is the initial function to be called in MFC and what it will do
Answer
# 5
Intial function called in MFC is AfxWinMain which is 
WinMain equivalent. AfxWinMain then calls AfxWinInit which 
initialises tha application and copies AfxWinMain 
fub=nction parameters to the mamber variables of the 
application object.then it calls InitApplication(only for 
16 bit)/InitInstance(32 bit) .If all the above goes well 
then Run function is called which starts the message loop.
 
Is This Answer Correct ?    0 Yes 0 No
Pallavi
 

 
 
 
Other MFC Interview Questions
 
  Question Asked @ Answers
 
What is a message map, and what is the advantage of a message map over virtual functions?  1
How can server communicate with more than one client Invensys2
What is subclassing?  2
What interface must be supported by an ActiveX control?  1
What is the use of CObject::Dump function ?  4
What is #progma and where it is used? L&T3
what is the updated verssion in vc++ Aspect1
Can you explaing the relashionship between document,frame and view ?  2
If i derive a new class from CObject what are the basic features my derived wil get ? Microsoft3
Explain Doc/View architecture Huawei3
What is LoadLibrary function returns?  6
What are the advantages of using Doc/View or SDI over DialogBox  2
I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS) Invensys2
Does the application have more than one object? If no, then what is the reason?  5
What are the types of button controls?  8
How to handle dynamic menus in MFC?  2
What is the difference between Synchronous sockets and asynchronous sockets?  2
what is the component of CLR ? AZTEC3
what is the use of Mutex and critical section  2
What types of threads are supported by MFC framework?  2
 
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