I wish to have a small dialog based application which is passed command line parameters, so, using VC++6 I ran the application wizard and chose an MFC dialog application.
Yes, see CWinApp:ParseCommandLine. Also take a look at the CCommandLineInfo class.