Hi,
I would like to have argc and argv in the WinApp insted of m_lpCmdLine.
Thanks.
Printable View
Hi,
I would like to have argc and argv in the WinApp insted of m_lpCmdLine.
Thanks.
You can use __argc and __argv if you want.
They are defined in stdlib.h and MFC uses
them itself (see appcore.cpp). Actually,
MFC uses __targv, the unicode-capable one.