Click here to Skip to main content
15,894,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIs it right? Pin
Razanust29-Jun-09 2:35
Razanust29-Jun-09 2:35 
AnswerRe: Is it right? Pin
chandu00429-Jun-09 2:41
chandu00429-Jun-09 2:41 
AnswerRe: Is it right? Pin
«_Superman_»29-Jun-09 2:55
professional«_Superman_»29-Jun-09 2:55 
Questionhide the console window while using system(...) Pin
chandu00429-Jun-09 1:37
chandu00429-Jun-09 1:37 
QuestionRe: hide the console window while using system(...) Pin
Rajesh R Subramanian29-Jun-09 1:43
professionalRajesh R Subramanian29-Jun-09 1:43 
AnswerRe: hide the console window while using system(...) Pin
chandu00429-Jun-09 1:48
chandu00429-Jun-09 1:48 
GeneralRe: hide the console window while using system(...) Pin
Rajesh R Subramanian29-Jun-09 1:59
professionalRajesh R Subramanian29-Jun-09 1:59 
GeneralRe: hide the console window while using system(...) Pin
chandu00429-Jun-09 2:09
chandu00429-Jun-09 2:09 
Rajesh R Subramanian wrote:
So, you are not working with any DOS commands.


no the sequence of command which i was talking about may also have them.
Yes, i tried to use the create process. but..
CString str;
str.Format("copy database\\*.* %s>>c:\\output.txt",tempfolder);
DeleteFile("output.txt");
STARTUPINFO s;
s.wShowWindow=STARTF_USESHOWWINDOW&&SW_SHOW ;
int ret=CreateProcess(str.GetBuffer(str.GetLength()),NULL,NULL,NULL,NULL,NULL,NULL,NULL,&s,NULL);
//system(str);

there is no result.
what is the mistake here.
GeneralRe: hide the console window while using system(...) Pin
«_Superman_»29-Jun-09 2:31
professional«_Superman_»29-Jun-09 2:31 
GeneralRe: hide the console window while using system(...) Pin
chandu00429-Jun-09 2:36
chandu00429-Jun-09 2:36 
GeneralRe: hide the console window while using system(...) Pin
«_Superman_»29-Jun-09 2:50
professional«_Superman_»29-Jun-09 2:50 
GeneralRe: hide the console window while using system(...) Pin
chandu00429-Jun-09 3:08
chandu00429-Jun-09 3:08 
GeneralRe: hide the console window while using system(...) Pin
«_Superman_»29-Jun-09 3:09
professional«_Superman_»29-Jun-09 3:09 
GeneralRe: hide the console window while using system(...) Pin
David Crow29-Jun-09 3:23
David Crow29-Jun-09 3:23 
GeneralRe: hide the console window while using system(...) Pin
chandu00429-Jun-09 3:47
chandu00429-Jun-09 3:47 
GeneralRe: hide the console window while using system(...) Pin
David Crow29-Jun-09 4:14
David Crow29-Jun-09 4:14 
GeneralRe: hide the console window while using system(...) Pin
chandu00430-Jun-09 21:41
chandu00430-Jun-09 21:41 
AnswerRe: hide the console window while using system(...) Pin
«_Superman_»29-Jun-09 1:44
professional«_Superman_»29-Jun-09 1:44 
GeneralRe: hide the console window while using system(...) Pin
chandu00429-Jun-09 1:51
chandu00429-Jun-09 1:51 
GeneralRe: hide the console window while using system(...) Pin
chandu00429-Jun-09 2:31
chandu00429-Jun-09 2:31 
GeneralRe: hide the console window while using system(...) Pin
«_Superman_»29-Jun-09 2:33
professional«_Superman_»29-Jun-09 2:33 
AnswerRe: hide the console window while using system(...) [modified] Pin
Joe Woodbury29-Jun-09 12:00
professionalJoe Woodbury29-Jun-09 12:00 
GeneralRe: hide the console window while using system(...) Pin
chandu00430-Jun-09 1:27
chandu00430-Jun-09 1:27 
QuestionQuerry. Pin
Razanust29-Jun-09 0:49
Razanust29-Jun-09 0:49 
AnswerRe: Querry. Pin
chandu00429-Jun-09 0:57
chandu00429-Jun-09 0:57 

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.