Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Command Line Args w/ MFC

Posted on 1998-02-17
1
Medium Priority
?
281 Views
Last Modified: 2013-11-20
 How can I retrive the command line arguments of
a program in MFC?

  I know how to do this in DOS but I'm not exactly
sure in Windows.

   Thanks
0
Comment
Question by:tcola
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 80 total points
ID: 1316305
You can call GetCommandLine() to retrieve the command line.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question