CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1

    argc, argv in the WinApp



    Hi,


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

    Thanks.

  2. #2
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    Re: argc, argv in the WinApp



    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.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured