Click here to Skip to main content
15,847,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: updating from vc2002 to vc2005 Pin
David Crow30-Apr-09 4:51
David Crow30-Apr-09 4:51 
Question::ShellExecute - Problem passing arguments Pin
PankajB29-Apr-09 23:10
PankajB29-Apr-09 23:10 
AnswerRe: ::ShellExecute - Problem passing arguments Pin
Rajesh R Subramanian29-Apr-09 23:23
professionalRajesh R Subramanian29-Apr-09 23:23 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
PankajB29-Apr-09 23:27
PankajB29-Apr-09 23:27 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
Rajesh R Subramanian29-Apr-09 23:32
professionalRajesh R Subramanian29-Apr-09 23:32 
AnswerRe: ::ShellExecute - Problem passing arguments Pin
Cedric Moonen29-Apr-09 23:27
Cedric Moonen29-Apr-09 23:27 
QuestionRe: ::ShellExecute - Problem passing arguments Pin
CPallini29-Apr-09 23:32
mveCPallini29-Apr-09 23:32 
AnswerRe: ::ShellExecute - Problem passing arguments Pin
PankajB29-Apr-09 23:42
PankajB29-Apr-09 23:42 
Let me provide few details...

1. Lets say ABC.exe just cout the text provided as an argument.

2. If I launch ABC.exe from console, >ABC.exe Hello, it prints out Hello on the Screen.

3. if I call the same application like
HINSTANCE hInst = ::ShellExecute(NULL, L"open", L"C:\\Documents and Settings\\pankaj.bhalla\\Desktop\\ABC.exe", L"Hello", NULL, SW_SHOW);

...it does not

Just FYI, ABC.exe is a Console based Application
GeneralRe: ::ShellExecute - Problem passing arguments Pin
Michael Schubert29-Apr-09 23:51
Michael Schubert29-Apr-09 23:51 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
Rajesh R Subramanian29-Apr-09 23:52
professionalRajesh R Subramanian29-Apr-09 23:52 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
CPallini30-Apr-09 0:02
mveCPallini30-Apr-09 0:02 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
Michael Schubert30-Apr-09 0:16
Michael Schubert30-Apr-09 0:16 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
CPallini30-Apr-09 0:34
mveCPallini30-Apr-09 0:34 
QuestionRe: ::ShellExecute - Problem passing arguments Pin
David Crow30-Apr-09 4:56
David Crow30-Apr-09 4:56 
QuestionWhat does <<< or >>> mean? Pin
detonation99729-Apr-09 22:22
detonation99729-Apr-09 22:22 
AnswerRe: What does <<< or >>> mean? Pin
Chris Losinger30-Apr-09 3:43
professionalChris Losinger30-Apr-09 3:43 
QuestionHow to stop the thread if it's running? Pin
mikert_200829-Apr-09 22:01
mikert_200829-Apr-09 22:01 
AnswerRe: How to stop the thread if it's running? Pin
CPallini29-Apr-09 22:06
mveCPallini29-Apr-09 22:06 
GeneralRe: How to stop the thread if it's running? Pin
mikert_200829-Apr-09 22:19
mikert_200829-Apr-09 22:19 
GeneralRe: How to stop the thread if it's running? Pin
Cedric Moonen29-Apr-09 22:29
Cedric Moonen29-Apr-09 22:29 
GeneralRe: How to stop the thread if it's running? Pin
Rajesh R Subramanian29-Apr-09 23:05
professionalRajesh R Subramanian29-Apr-09 23:05 
GeneralRe: How to stop the thread if it's running? Pin
Cedric Moonen29-Apr-09 23:11
Cedric Moonen29-Apr-09 23:11 
GeneralRe: How to stop the thread if it's running? Pin
Rajesh R Subramanian29-Apr-09 23:19
professionalRajesh R Subramanian29-Apr-09 23:19 
GeneralRe: How to stop the thread if it's running? Pin
CPallini29-Apr-09 22:40
mveCPallini29-Apr-09 22:40 
GeneralRe: How to stop the thread if it's running? [modified] Pin
Rajesh R Subramanian29-Apr-09 23:00
professionalRajesh R Subramanian29-Apr-09 23:00 

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.