Click here to Skip to main content
15,905,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: user control Pin
ShilpiP29-May-08 23:50
ShilpiP29-May-08 23:50 
AnswerRe: user control Pin
David Crow30-May-08 3:21
David Crow30-May-08 3:21 
GeneralRe: user control Pin
subramanyeswari30-May-08 3:32
subramanyeswari30-May-08 3:32 
QuestionShellExecute swallowing empty parameter Pin
mav.northwind29-May-08 21:29
mav.northwind29-May-08 21:29 
QuestionRe: ShellExecute swallowing empty parameter Pin
David Crow30-May-08 3:25
David Crow30-May-08 3:25 
AnswerRe: ShellExecute swallowing empty parameter Pin
mav.northwind30-May-08 3:45
mav.northwind30-May-08 3:45 
QuestionRe: ShellExecute swallowing empty parameter Pin
David Crow30-May-08 4:08
David Crow30-May-08 4:08 
AnswerRe: ShellExecute swallowing empty parameter Pin
mav.northwind30-May-08 4:43
mav.northwind30-May-08 4:43 
app.exe /one /two
vs.
app.exe /one /two ""

You can easily try it out. In the first case, argc is 2, in the second one it's 3.
It's very similar to what you have to do when one of the parameters contains white spaces, i.e. enclose the parameter in double quotes so that the shell can tell where one parameter ends and the next one begins.

Regards,
mav

--
Black holes are the places where God divided by 0...

QuestionRe: ShellExecute swallowing empty parameter Pin
David Crow30-May-08 4:50
David Crow30-May-08 4:50 
AnswerRe: ShellExecute swallowing empty parameter Pin
mav.northwind30-May-08 11:06
mav.northwind30-May-08 11:06 
QuestionOffice 2007 files in Webservice? Pin
ritz123429-May-08 21:27
ritz123429-May-08 21:27 
Questionhow to find out associated filetypes? Pin
steven_wong29-May-08 21:13
steven_wong29-May-08 21:13 
AnswerRe: how to find out associated filetypes? Pin
David Crow30-May-08 3:29
David Crow30-May-08 3:29 
AnswerRe: how to find out associated filetypes? Pin
ThatsAlok20-Jul-09 1:00
ThatsAlok20-Jul-09 1:00 
QuestionFile size in standard way Pin
CodingLover29-May-08 20:46
CodingLover29-May-08 20:46 
AnswerRe: File size in standard way Pin
Doc Lobster29-May-08 21:44
Doc Lobster29-May-08 21:44 
GeneralRe: File size in standard way Pin
CodingLover29-May-08 22:26
CodingLover29-May-08 22:26 
AnswerRe: File size in standard way Pin
CPallini29-May-08 22:06
mveCPallini29-May-08 22:06 
GeneralRe: File size in standard way Pin
CodingLover29-May-08 22:22
CodingLover29-May-08 22:22 
GeneralRe: File size in standard way Pin
CPallini29-May-08 22:34
mveCPallini29-May-08 22:34 
GeneralRe: File size in standard way Pin
CodingLover29-May-08 22:39
CodingLover29-May-08 22:39 
GeneralRe: File size in standard way Pin
CPallini29-May-08 23:03
mveCPallini29-May-08 23:03 
QuestionRe: File size in standard way Pin
CodingLover29-May-08 23:07
CodingLover29-May-08 23:07 
AnswerRe: File size in standard way Pin
CPallini29-May-08 23:19
mveCPallini29-May-08 23:19 
NewsRe: File size in standard way Pin
CodingLover30-May-08 2:33
CodingLover30-May-08 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.