How to handle command line arguements from simple MFC
application ?
Answers were Sorted based on User's Feedback
Answer / muthu
If it is a simple dialog based application then by using the
'theApp' application object we access commandline argument.
To get the App class object:
AfxGetApp()
To get the command line arguments
theApp->m_lpCmdLine
Use it wherever it required.
| Is This Answer Correct ? | 1 Yes | 0 No |
Name the Synchronization objects?
What is the initial function to be called in MFC and what it will do
What function is called by a document class to notify views that the document has been changed?
What is the use of CCmdTarget ?
How to find the mouse entering an image?..while entering need to display next image...
What is the base class for MFC Framework ?
What is the use of CObject::Dump function ?
what is the use of CWinApp class?
Why not virtual functions to handle messages?
What is the difference between ASSERT and VERIFY?
What is the base class for most MFC classes?
2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers