Nov 20, 2003 #1 TheMillionDollarMan Programmer Joined Jun 10, 2002 Messages 132 Location US I have a dialogue app and I would like to make some small changes to it so that it accepts command line arguments like a console app. Can I just add a function some how...? Thanks
I have a dialogue app and I would like to make some small changes to it so that it accepts command line arguments like a console app. Can I just add a function some how...? Thanks
Nov 20, 2003 Thread starter #2 TheMillionDollarMan Programmer Joined Jun 10, 2002 Messages 132 Location US Sorry I should have looked into this some more... class CExeTestApp : public CWinApp CMyTestApp theApp; CString str = (char*)theApp.m_lpCmdLine; str will have all of the command line args for me. Sorry. : - O Upvote 0 Downvote
Sorry I should have looked into this some more... class CExeTestApp : public CWinApp CMyTestApp theApp; CString str = (char*)theApp.m_lpCmdLine; str will have all of the command line args for me. Sorry. : - O