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 |
Does the application have more than one object? If Yes, Briefly explain.
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
how to give colour for dialog button or static buuto?any one explain full code ?pls pls
List out the basic features of MFC.
what is message Testing ?
what is the use of CCmdTarget?
What is thread & process?
How can update edit control data of an executing application from other application?
What is the base class for MFC Framework ?
In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?
How to handle command line arguements from simple MFC application ?
Difference between Cclint DC & Cpaint Dc