Click here to Skip to main content
15,896,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDisplay Huge Size file content in dialog Pin
Prabhu09200914-Feb-10 22:20
Prabhu09200914-Feb-10 22:20 
AnswerRe: Display Huge Size file content in dialog Pin
«_Superman_»14-Feb-10 22:25
professional«_Superman_»14-Feb-10 22:25 
GeneralRe: Display Huge Size file content in dialog Pin
Prabhu09200914-Feb-10 22:37
Prabhu09200914-Feb-10 22:37 
GeneralRe: Display Huge Size file content in dialog Pin
«_Superman_»14-Feb-10 22:48
professional«_Superman_»14-Feb-10 22:48 
NewsRe: Display Huge Size file content in dialog Pin
Prabhu09200915-Feb-10 0:48
Prabhu09200915-Feb-10 0:48 
GeneralRe: Display Huge Size file content in dialog Pin
Maximilien15-Feb-10 1:28
Maximilien15-Feb-10 1:28 
GeneralRe: Display Huge Size file content in dialog Pin
Rajesh R Subramanian15-Feb-10 1:41
professionalRajesh R Subramanian15-Feb-10 1:41 
QuestionRe: Display Huge Size file content in dialog Pin
CPallini14-Feb-10 22:55
mveCPallini14-Feb-10 22:55 
QuestionWrong partion info for Dynamic disk using DeviceIoControl Pin
MKC00214-Feb-10 22:03
MKC00214-Feb-10 22:03 
QuestionReading a CSV file Pin
Pryabu14-Feb-10 21:56
Pryabu14-Feb-10 21:56 
AnswerRe: Reading a CSV file Pin
«_Superman_»14-Feb-10 22:03
professional«_Superman_»14-Feb-10 22:03 
GeneralRe: Reading a CSV file Pin
Pryabu14-Feb-10 22:15
Pryabu14-Feb-10 22:15 
AnswerRe: Reading a CSV file Pin
Rolf Kristensen18-Feb-10 10:57
Rolf Kristensen18-Feb-10 10:57 
QuestionSending values to WPF control from VC++ Pin
Anu_Bala14-Feb-10 19:58
Anu_Bala14-Feb-10 19:58 
AnswerRe: Sending values to WPF control from VC++ Pin
CPallini14-Feb-10 21:30
mveCPallini14-Feb-10 21:30 
QuestionRun copy command in the background using vc++ Pin
raj157614-Feb-10 18:17
raj157614-Feb-10 18:17 
AnswerRe: Run copy command in the background using vc++ Pin
«_Superman_»14-Feb-10 18:45
professional«_Superman_»14-Feb-10 18:45 
GeneralRe: Run copy command in the background using vc++ Pin
raj157614-Feb-10 19:21
raj157614-Feb-10 19:21 
GeneralRe: Run copy command in the background using vc++ Pin
«_Superman_»14-Feb-10 19:32
professional«_Superman_»14-Feb-10 19:32 
To hide the command window you will have to do a lot more work.

You will need to use CreateProcess to start the command prompt (Cmd.exe) and specifying CREATE_NO_WINDOW in the dwCreationFlags parameter.

If this doesn't work you can set the STARTF_USESHOWWINDOW flag in the STARTUPINFO structure and set its wShowWindow member to SW_HIDE.

The copy command will need to be given as parameter to the Cmd.exe.

Instead it will be easier to use the file APIs like CreateFile and WriteFile.
«_Superman
I love work. It gives me something to do between weekends.

Microsoft MVP (Visual C++)

GeneralRe: Run copy command in the background using vc++ Pin
raj157614-Feb-10 20:25
raj157614-Feb-10 20:25 
GeneralRe: Run copy command in the background using vc++ Pin
«_Superman_»14-Feb-10 20:32
professional«_Superman_»14-Feb-10 20:32 
GeneralRe: Run copy command in the background using vc++ Pin
David Crow15-Feb-10 4:27
David Crow15-Feb-10 4:27 
AnswerRe: Run copy command in the background using vc++ Pin
Adam Roderick J14-Feb-10 19:44
Adam Roderick J14-Feb-10 19:44 
GeneralRe: Run copy command in the background using vc++ Pin
raj157614-Feb-10 23:11
raj157614-Feb-10 23:11 
AnswerRe: Run copy command in the background using vc++ Pin
Maximilien15-Feb-10 1:35
Maximilien15-Feb-10 1:35 

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.