Solved

Command Line Args w/ MFC

Posted on 1998-02-17
1
249 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 20 total points
ID: 1316305
You can call GetCommandLine() to retrieve the command line.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installing Microsoft R server on REDHAT or SUSE Linux 4 137
Whole sheet autoscrub still needed 19 50
viewing source code from eclipse 13 107
firstChar challenge 13 115
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

778 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