Click here to Skip to main content
16,011,868 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMultiLine and Owner Drawn Control Pin
20-Jun-01 4:14
suss20-Jun-01 4:14 
GeneralCommand Line problems Pin
20-Jun-01 4:09
suss20-Jun-01 4:09 
GeneralRe: Command Line problems Pin
Chris Losinger20-Jun-01 4:38
professionalChris Losinger20-Jun-01 4:38 
GeneralRe: Command Line problems Pin
Carlos Antollini20-Jun-01 4:48
Carlos Antollini20-Jun-01 4:48 
GeneralRe: Command Line problems Pin
20-Jun-01 5:04
suss20-Jun-01 5:04 
GeneralRe: Command Line problems Pin
Chris Losinger20-Jun-01 5:10
professionalChris Losinger20-Jun-01 5:10 
GeneralRe: Command Line problems Pin
20-Jun-01 5:24
suss20-Jun-01 5:24 
GeneralRe: Command Line problems Pin
Chris Losinger20-Jun-01 7:38
professionalChris Losinger20-Jun-01 7:38 
any parameter with spaces in it must be in quotes, otherwise, the shell will break it into multiple parameters. i'm not sure what happens if your application name contains spaces.

assuming the command line you gave, this is the contents of __argv:

__argv[0] = application name
__argv[1] = "/Export"
__argv[2] = "LM:"
__argv[3] = "C:\..."

so, grab __argv[1], test it for "/Export" or "/Import" and proceed accordingly.

-c

------------------------------
Smaller Animals Software, Inc.
http://www.smalleranimals.com
GeneralProblems using functions in structs in MSVC++ Pin
Jason Hihn20-Jun-01 3:52
Jason Hihn20-Jun-01 3:52 
GeneralRe: Problems using functions in structs in MSVC++ Pin
Dark Angel20-Jun-01 4:08
Dark Angel20-Jun-01 4:08 
GeneralRe: Problems using functions in structs in MSVC++ Pin
Jason Hihn20-Jun-01 7:00
Jason Hihn20-Jun-01 7:00 
GeneralRe: Problems using functions in structs in MSVC++ Pin
Ben Burnett20-Jun-01 7:32
Ben Burnett20-Jun-01 7:32 
GeneralRe: Problems using functions in structs in MSVC++ Pin
Jason Hihn20-Jun-01 8:21
Jason Hihn20-Jun-01 8:21 
GeneralMy documents directory Pin
jerry0davis20-Jun-01 3:37
jerry0davis20-Jun-01 3:37 
GeneralRe: My documents directory Pin
Matt Gullett20-Jun-01 3:44
Matt Gullett20-Jun-01 3:44 
GeneralRe: My documents directory Pin
jerry0davis20-Jun-01 3:48
jerry0davis20-Jun-01 3:48 
QuestionGetWindowLong????? Pin
20-Jun-01 3:00
suss20-Jun-01 3:00 
Generalsimple array question Pin
20-Jun-01 2:44
suss20-Jun-01 2:44 
GeneralRe: simple array question Pin
20-Jun-01 3:22
suss20-Jun-01 3:22 
GeneralRe: simple array question Pin
20-Jun-01 3:31
suss20-Jun-01 3:31 
GeneralRe: simple array question Pin
20-Jun-01 17:46
suss20-Jun-01 17:46 
GeneralMDI and WS_MAXIMIZE,, Please Pin
mr200320-Jun-01 2:29
mr200320-Jun-01 2:29 
GeneralRe: MDI and WS_MAXIMIZE,, Please Pin
20-Jun-01 3:06
suss20-Jun-01 3:06 
GeneralRe: MDI and WS_MAXIMIZE,, Please Pin
mr200320-Jun-01 3:16
mr200320-Jun-01 3:16 
GeneralRe: MDI and WS_MAXIMIZE,, Please Pin
20-Jun-01 4:09
suss20-Jun-01 4:09 

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.