Click here to Skip to main content
15,917,641 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCListCtrl Selection of Item Problem Pin
Aamol M21-May-07 1:35
Aamol M21-May-07 1:35 
AnswerRe: CListCtrl Selection of Item Problem Pin
GuyM21-May-07 1:46
GuyM21-May-07 1:46 
GeneralRe: CListCtrl Selection of Item Problem Pin
Aamol M21-May-07 2:32
Aamol M21-May-07 2:32 
GeneralRe: CListCtrl Selection of Item Problem Pin
David Crow21-May-07 3:20
David Crow21-May-07 3:20 
QuestionCreateProcess parametr problem. Pin
david bagaturia21-May-07 1:04
david bagaturia21-May-07 1:04 
AnswerRe: CreateProcess parametr problem. Pin
David Crow21-May-07 3:24
David Crow21-May-07 3:24 
QuestionCreateProcess problem. Pin
david bagaturia21-May-07 1:02
david bagaturia21-May-07 1:02 
AnswerRe: CreateProcess problem. Pin
GuyM21-May-07 1:12
GuyM21-May-07 1:12 
Try the following:
CString strExeAndParams = _T("\"C:\\MyExe.exe\" Param1 Param2");
BOOL bOK = CreateProcess(NULL, (TCHAR*)(LPCTSTR)strExeAndParams, ...); 


Note that the path to the executable is wrapped with \" - because if the path has as space in it (like in "Program Files"), Windows will interpret the first half as the EXE name and the second half as the first command-line parameter.

Hope this helps ...
GeneralRe: CreateProcess problem. Pin
david bagaturia21-May-07 2:17
david bagaturia21-May-07 2:17 
QuestionRemoving Title Bar from MDI frame Pin
zubair_ahmed21-May-07 0:30
zubair_ahmed21-May-07 0:30 
AnswerRe: Removing Title Bar from MDI frame Pin
Nelek21-May-07 1:14
protectorNelek21-May-07 1:14 
QuestionWaitForSingleObject Query Pin
Vikas K.20-May-07 23:59
Vikas K.20-May-07 23:59 
AnswerRe: WaitForSingleObject Query Pin
GuyM21-May-07 0:20
GuyM21-May-07 0:20 
AnswerRe: WaitForSingleObject Query Pin
Roger Stoltz21-May-07 0:57
Roger Stoltz21-May-07 0:57 
GeneralRe: WaitForSingleObject Query Pin
Vikas K.21-May-07 3:13
Vikas K.21-May-07 3:13 
QuestionWhat "mapping" is all about? Pin
LiYS20-May-07 23:30
LiYS20-May-07 23:30 
QuestionRe: What "mapping" is all about? Pin
GuyM21-May-07 0:22
GuyM21-May-07 0:22 
AnswerRe: What "mapping" is all about? Pin
LiYS21-May-07 0:28
LiYS21-May-07 0:28 
AnswerRe: What "mapping" is all about? Pin
GuyM21-May-07 0:49
GuyM21-May-07 0:49 
GeneralRe: What "mapping" is all about? [modified] Pin
LiYS21-May-07 0:58
LiYS21-May-07 0:58 
QuestionSDI to MDI Pin
Anilkumar K V20-May-07 22:41
Anilkumar K V20-May-07 22:41 
AnswerRe: SDI to MDI Pin
GuyM21-May-07 0:36
GuyM21-May-07 0:36 
Question#include statements Pin
prithaa20-May-07 22:14
prithaa20-May-07 22:14 
AnswerRe: #include statements Pin
Hamid_RT20-May-07 22:27
Hamid_RT20-May-07 22:27 
AnswerRe: #include statements Pin
Perspx21-May-07 8:50
Perspx21-May-07 8:50 

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.