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 use of Mutex and critical section
what is the component of CLR ?
what is the use of AFX_MANAGE_STATE ?
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
How can we create thread in MFC framework?
What is the difference between the SDI and MDI
What is the difference between the Encapsulation and Abstraction
25 Answers HCL, Invensys, TCS, Wipro,
If i derive a new class from CObject what are the basic features my derived wil get ?
1) How do you Destroy a Dialog Box ?
What does mfc stand for?
1)At run-time, you can change the icon by calling the LoadIcon() function?
In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?