Click here to Skip to main content
15,892,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 14:53
BCN-1638-Aug-12 14:53 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 16:08
BCN-1638-Aug-12 16:08 
SuggestionRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
Richard MacCutchan8-Aug-12 1:46
mveRichard MacCutchan8-Aug-12 1:46 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 14:51
BCN-1638-Aug-12 14:51 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 16:09
BCN-1638-Aug-12 16:09 
QuestionC,C# Pin
sangamdumne7-Aug-12 19:41
sangamdumne7-Aug-12 19:41 
GeneralRe: C,C# Pin
CPallini7-Aug-12 21:10
mveCPallini7-Aug-12 21:10 
QuestionArgument to System() with space in the path Pin
Andraw1117-Aug-12 11:00
Andraw1117-Aug-12 11:00 
Hi, dear all,

I have a license check exe file with only one argument.

CString exe = getCurrentProjectPath(); //e.g, C:\Temp

CString pwd = "12345"

CString exeString = exe + " \"" + pwd + "\"";

system(exeString);

everything works fines with above codes.

But if I put double quota between exe, I get "filename, .... syntext is incorrect".

CString exeString = "\"" + exe + "\" \"" + pwd + "\"";


But if I don't put exe data in a quota, if the path has space, it also cannot work.

How should I solve this issue? Thanks!
AnswerRe: Argument to System() with space in the path Pin
Richard Andrew x647-Aug-12 11:15
professionalRichard Andrew x647-Aug-12 11:15 
GeneralRe: Argument to System() with space in the path Pin
Andraw1118-Aug-12 3:00
Andraw1118-Aug-12 3:00 
GeneralRe: Argument to System() with space in the path Pin
Richard MacCutchan8-Aug-12 4:02
mveRichard MacCutchan8-Aug-12 4:02 
AnswerRe: Argument to System() with space in the path Pin
Andraw1117-Aug-12 11:59
Andraw1117-Aug-12 11:59 
GeneralRe: Argument to System() with space in the path Pin
Joan M9-Aug-12 6:21
professionalJoan M9-Aug-12 6:21 
QuestionHow to retain line drawing on Canvas area in MFC.? Pin
mbatra317-Aug-12 2:01
mbatra317-Aug-12 2:01 
AnswerRe: How to retain line drawing on Canvas area in MFC.? Pin
Chris Losinger7-Aug-12 6:14
professionalChris Losinger7-Aug-12 6:14 
AnswerRe: How to retain line drawing on Canvas area in MFC.? Pin
pasztorpisti7-Aug-12 12:01
pasztorpisti7-Aug-12 12:01 
QuestionDetermine straight line Pin
tagopi7-Aug-12 1:04
tagopi7-Aug-12 1:04 
SuggestionRe: Determine straight line Pin
Richard MacCutchan7-Aug-12 1:17
mveRichard MacCutchan7-Aug-12 1:17 
GeneralRe: Determine straight line Pin
tagopi7-Aug-12 1:29
tagopi7-Aug-12 1:29 
GeneralRe: Determine straight line Pin
Amarnath S7-Aug-12 1:18
professionalAmarnath S7-Aug-12 1:18 
GeneralRe: Determine straight line Pin
tagopi7-Aug-12 1:30
tagopi7-Aug-12 1:30 
GeneralRe: Determine straight line Pin
Amarnath S7-Aug-12 1:45
professionalAmarnath S7-Aug-12 1:45 
GeneralRe: Determine straight line Pin
tagopi7-Aug-12 1:49
tagopi7-Aug-12 1:49 
GeneralRe: Determine straight line Pin
Eugen Podsypalnikov7-Aug-12 4:14
Eugen Podsypalnikov7-Aug-12 4:14 
GeneralRe: Determine straight line Pin
Amarnath S7-Aug-12 1:51
professionalAmarnath S7-Aug-12 1:51 

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.