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 difference between GetMessage and PeekMessage ?
1)dynamic creation of a Button ?
what is the use of CWinApp class?
1)does Frame Thickness in MFC?
How to convert the content of buffer into lower case character.
1)How to load an icon on a button as Dynamically ?
How to create a Modeless Dialog?
How many types of combo box are their
2 Answers Aaditya Info Solutions, E Logic,
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?
Explain in sort What is CTargetObject?
What is the difference between regular dlls and extended dlls?
what is the difference between SDI and MDI
15 Answers CMC, HCL, Siemens,