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 |
What is the command routing in MFC framework?
What is the difference between the ASSERT and VERIFY macros?
I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)
General purpose classes in MFC
How you create a button dynamically?
Tell me about different kinds of synchranization objects ?
Which MFC function is used to display output?
Difference between Debug and Release versions?
1)To Remove WS_MINIMIZEBOX in a Frame ?
What is the difference between GetMessage and PeekMessage ?
What is the base class for MFC Framework ?
Name the Synchronization objects?