Click here to Skip to main content
15,914,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Roll the dice Pin
Ravi Bhavnani15-Aug-04 10:17
professionalRavi Bhavnani15-Aug-04 10:17 
GeneralRe: Roll the dice Pin
---Mark---15-Aug-04 21:11
---Mark---15-Aug-04 21:11 
GeneralRe: Roll the dice Pin
Mike Beckerleg15-Aug-04 23:04
Mike Beckerleg15-Aug-04 23:04 
GeneralRe: Roll the dice Pin
mahade115-Aug-04 23:21
mahade115-Aug-04 23:21 
GeneralRe: Roll the dice Pin
---Mark---16-Aug-04 13:28
---Mark---16-Aug-04 13:28 
GeneralRe: Roll the dice Pin
mahade116-Aug-04 18:52
mahade116-Aug-04 18:52 
GeneralRe: Roll the dice Pin
Henry miller16-Aug-04 3:33
Henry miller16-Aug-04 3:33 
GeneralGiving command line arguments to VS 2003. Pin
blackmesa15-Aug-04 8:44
blackmesa15-Aug-04 8:44 
I'm having trouble giving command line arguments to VS.NET 2003 in debug mode without opening a prompt.

My debugging properties are as follows.

Command: cmd.exe
Command Arguments: -input test.scn -output test.tga.

(basically input scene description file and output image file)

When I start the debugger, argc is always 1, which means only the executable name was found in the command line. So my arguments are never read. I tried setting input to "test.scn", and output to "test.tga" in main(), same result (input and output are c++ strings in the main function). I also tried setting the working directory to .\Debug. without success. The test.scn file is in my project's Debug folder.

What am I missing?

Cheers, blackmesa.
GeneralRe: Giving command line arguments to VS 2003. Pin
Ryan Binns15-Aug-04 18:22
Ryan Binns15-Aug-04 18:22 
GeneralRe: Giving command line arguments to VS 2003. Pin
blackmesa15-Aug-04 21:02
blackmesa15-Aug-04 21:02 
GeneralWindows VirtualDesktop Pin
ianmknight15-Aug-04 8:41
ianmknight15-Aug-04 8:41 
QuestionCan Any one Help me out Pin
Neelesh K J Jain15-Aug-04 6:35
Neelesh K J Jain15-Aug-04 6:35 
AnswerRe: Can Any one Help me out Pin
Ravi Bhavnani15-Aug-04 6:49
professionalRavi Bhavnani15-Aug-04 6:49 
GeneralNeed help fast... Pin
Larsson15-Aug-04 3:55
Larsson15-Aug-04 3:55 
GeneralRe: Need help fast... Pin
Ravi Bhavnani15-Aug-04 4:21
professionalRavi Bhavnani15-Aug-04 4:21 
GeneralRe: Need help fast... Pin
Larsson15-Aug-04 4:44
Larsson15-Aug-04 4:44 
GeneralRe: Need help fast... Pin
Ravi Bhavnani15-Aug-04 4:47
professionalRavi Bhavnani15-Aug-04 4:47 
GeneralRe: Need help fast... Pin
Larsson15-Aug-04 6:26
Larsson15-Aug-04 6:26 
GeneralRe: Need help fast... Pin
Ravi Bhavnani15-Aug-04 6:29
professionalRavi Bhavnani15-Aug-04 6:29 
GeneralRe: Need help fast... Pin
Larsson15-Aug-04 6:33
Larsson15-Aug-04 6:33 
GeneralRe: Need help fast... Pin
Ravi Bhavnani15-Aug-04 6:37
professionalRavi Bhavnani15-Aug-04 6:37 
GeneralRe: Need help fast... Pin
Larsson15-Aug-04 6:40
Larsson15-Aug-04 6:40 
GeneralRe: Need help fast... Pin
Ravi Bhavnani15-Aug-04 6:44
professionalRavi Bhavnani15-Aug-04 6:44 
GeneralRe: Need help fast... Pin
Larsson15-Aug-04 6:46
Larsson15-Aug-04 6:46 
Generalsqltype binding Pin
TehMedic15-Aug-04 2:33
TehMedic15-Aug-04 2:33 

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.