Dialog and Console
Posted on 2002-03-05
I am working in a MFC Dialog.
Now this application also needs to be invoked as a Command Line application. I know that I can make use of CWinApp::CCmdLineInfo method. But I have not used earlier.Can I make use of this or should I use anything else ?
If anybodu had used tips would be appreciated.Also suggest me how to implement it.
ALso for a dialog based application error message will get displayed in the form of a Message Box. But for this command line application, I want to display the same error message in the console instead of dialogs/message boxes.Pls let me know how to do the same.