Q How can I parse the command line in an MFC app? My program has several command line options (such as -l, -x, -help). I see there's m_lpCmdLine that points to the command line, but do I have to parse it myself? It seems like there should be some way to make CCommandLineInfo do it, but I can't figure out how. 、 http://www.microsoft.com/msj/1099/c/c1099.aspx
http://www.microsoft.com/msj/1099/c/c1099.aspx