Click to See Complete Forum and Search --> : argc, argv in the WinApp


Alain Royer
April 1st, 1999, 11:01 AM
Hi,


I would like to have argc and argv in the WinApp insted of m_lpCmdLine.

Thanks.

Gomez Addams
April 1st, 1999, 11:15 AM
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.