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 |
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?
How to handle command line arguements from simple MFC application ?
What is thread & process?
WHAT IS DIFFERENT BETWEN RELEASE MODE & DEBUGGING MODE
4 Answers Google, Microsoft, TCS,
what if we provide two message handler for same message ?
What view class enables you to use an edit control as a view?
How to update windows title bar dynamically?
Name the Synchronization objects?
1)why we cant create more than one instance of the class Derived from CWinApp
Tell me the work of HTREDUCE and HTZOOM
What is the difference between regular dlls and extended dlls?
Explain about MDI and CMultiDocTemplate ?