Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dialogue App accepting command line params

Status
Not open for further replies.

TheMillionDollarMan

Programmer
Jun 10, 2002
132
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
 

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top