Click here to Skip to main content
16,004,969 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to make .exe file take parameters in VC++? Pin
redeemer20-May-02 9:46
redeemer20-May-02 9:46 
GeneralRe: How to make .exe file take parameters in VC++? Pin
Paul M Watt20-May-02 9:59
mentorPaul M Watt20-May-02 9:59 
GeneralRe: How to make .exe file take parameters in VC++? Pin
Shayna20-May-02 10:24
Shayna20-May-02 10:24 
GeneralRe: How to make .exe file take parameters in VC++? Pin
redeemer20-May-02 10:37
redeemer20-May-02 10:37 
GeneralRe: How to make .exe file take parameters in VC++? Pin
Shayna20-May-02 10:50
Shayna20-May-02 10:50 
GeneralIn case of MFC Pin
Abin20-May-02 10:57
Abin20-May-02 10:57 
GeneralRe: In case of MFC Pin
Shayna20-May-02 11:06
Shayna20-May-02 11:06 
GeneralRe: In case of MFC Pin
Abin20-May-02 13:55
Abin20-May-02 13:55 
No matter how many parameters you have entered, that's always a command "line", for example, if your app exe named "abc.exe" and you typed the following line to launch your program:

<br />
abc.exe -s -a -p -nodemo -window<br />


that line consists of 5 parameters, the contents of lpCmdLine will be:

<br />
"-s -a -p -nodemo -window"<br />


It's YOUR responsiblity to parse the command line into individual parameters, and that's pretty easy if you ask me. By the way, you will need to tell the users how to specify command line parameters when you ship your application, thus you should know the rule of parsing.
GeneralPaths get mixed together when using shell functions... Pin
redeemer20-May-02 9:02
redeemer20-May-02 9:02 
GeneralRe: Paths get mixed together when using shell functions... Pin
Alvaro Mendez20-May-02 9:50
Alvaro Mendez20-May-02 9:50 
GeneralRe: Paths get mixed together when using shell functions... Pin
redeemer20-May-02 10:12
redeemer20-May-02 10:12 
GeneralRe: Paths get mixed together when using shell functions... Pin
Alvaro Mendez20-May-02 10:55
Alvaro Mendez20-May-02 10:55 
GeneralRe: Paths get mixed together when using shell functions... Pin
redeemer20-May-02 11:11
redeemer20-May-02 11:11 
GeneralRe: Paths get mixed together when using shell functions... Pin
soptest20-May-02 11:43
soptest20-May-02 11:43 
GeneralThreads & CPropertySheet Pin
pmarki20-May-02 8:18
pmarki20-May-02 8:18 
GeneralRe: Threads & CPropertySheet Pin
Bill Wilson20-May-02 8:23
Bill Wilson20-May-02 8:23 
GeneralRe: Threads & CPropertySheet Pin
pmarki20-May-02 8:46
pmarki20-May-02 8:46 
GeneralRe: Threads & CPropertySheet Pin
Prem Kumar20-May-02 9:16
Prem Kumar20-May-02 9:16 
Generalincluding img. into a project Pin
Fred D.20-May-02 8:24
Fred D.20-May-02 8:24 
GeneralRe: including img. into a project Pin
Chris Losinger20-May-02 8:24
professionalChris Losinger20-May-02 8:24 
GeneralWorker thread question Pin
RobJones20-May-02 8:23
RobJones20-May-02 8:23 
GeneralRe: Worker thread question Pin
Bill Wilson20-May-02 8:25
Bill Wilson20-May-02 8:25 
GeneralRe: Worker thread question Pin
Prem Kumar20-May-02 8:31
Prem Kumar20-May-02 8:31 
GeneralControl Colors Pin
Mike Doner20-May-02 8:08
Mike Doner20-May-02 8:08 
GeneralRe: Control Colors Pin
Shog920-May-02 13:38
sitebuilderShog920-May-02 13:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.