Click here to Skip to main content
15,901,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: please guide make file.exe for vc++6.0 !!! Pin
aa_zz10-Sep-08 21:01
aa_zz10-Sep-08 21:01 
GeneralRe: please guide make file.exe for vc++6.0 !!! Pin
Michael Schubert10-Sep-08 21:29
Michael Schubert10-Sep-08 21:29 
GeneralRe: please guide make file.exe for vc++6.0 !!! Pin
aa_zz10-Sep-08 21:56
aa_zz10-Sep-08 21:56 
GeneralRe: please guide make file.exe for vc++6.0 !!! Pin
David Crow11-Sep-08 2:53
David Crow11-Sep-08 2:53 
JokeRe: please guide make file.exe for vc++6.0 !!! Pin
CPallini10-Sep-08 2:51
mveCPallini10-Sep-08 2:51 
JokeRe: please guide make file.exe for vc++6.0 !!! Pin
Hamid_RT10-Sep-08 9:59
Hamid_RT10-Sep-08 9:59 
QuestionRe: please guide make file.exe for vc++6.0 !!! Pin
David Crow10-Sep-08 3:52
David Crow10-Sep-08 3:52 
JokeRe: please guide make file.exe for vc++6.0 !!! Pin
CPallini10-Sep-08 11:00
mveCPallini10-Sep-08 11:00 
AnswerRe: please guide make file.exe for vc++6.0 !!! Pin
Phil J Pearson10-Sep-08 5:31
Phil J Pearson10-Sep-08 5:31 
AnswerRe: please guide make file.exe for vc++6.0 !!! Pin
Hamid_RT10-Sep-08 9:58
Hamid_RT10-Sep-08 9:58 
QuestionTranslateMessage() doesn't work ! Pin
Joseph Marzbani10-Sep-08 0:35
Joseph Marzbani10-Sep-08 0:35 
GeneralRe: TranslateMessage() doesn't work ! Pin
CPallini10-Sep-08 0:42
mveCPallini10-Sep-08 0:42 
GeneralRe: TranslateMessage() doesn't work ! Pin
Joseph Marzbani10-Sep-08 0:49
Joseph Marzbani10-Sep-08 0:49 
GeneralRe: TranslateMessage() doesn't work ! Pin
Rane10-Sep-08 1:40
Rane10-Sep-08 1:40 
GeneralRe: TranslateMessage() doesn't work ! Pin
Mark Salsbery10-Sep-08 5:01
Mark Salsbery10-Sep-08 5:01 
Questionhow to control a console application Pin
eusto9-Sep-08 23:49
eusto9-Sep-08 23:49 
AnswerRe: how to control a console application Pin
sashoalm10-Sep-08 0:27
sashoalm10-Sep-08 0:27 
GeneralRe: how to control a console application Pin
eusto10-Sep-08 0:45
eusto10-Sep-08 0:45 
Questionproblem in executing .bat file Pin
Madan Chauhan9-Sep-08 23:23
Madan Chauhan9-Sep-08 23:23 
QuestionRe: problem in executing .bat file Pin
Michael Schubert10-Sep-08 1:54
Michael Schubert10-Sep-08 1:54 
AnswerRe: problem in executing .bat file Pin
Madan Chauhan10-Sep-08 2:29
Madan Chauhan10-Sep-08 2:29 
Hi thanks for replying,

If I use system() then the command screen will reflect. I want to execute this without any black screen (by hiding the command execution).

When I try to run this .bat file by command prompt(opening cmd as administrator) like- D:\myFolder\mybat.bat then it is saying that 'b' is not recognized as an internal or external command. 'b' is the first character in my command that is written in that file.
If I am not wrong, the problem is arising due to unicode because I am writing the command in to file through my code using WriteFile function and second parameter of this function is as-
csRunCommands = _T("bcdedit /set {bootmgr} device boot > d:\\zzz1.txt");

If I make a bat file in any drive manually and write the same command there then it is getting execute well.

Please give me some solution.

thanks
GeneralRe: problem in executing .bat file Pin
Michael Schubert10-Sep-08 2:47
Michael Schubert10-Sep-08 2:47 
GeneralRe: problem in executing .bat file Pin
Madan Chauhan10-Sep-08 2:52
Madan Chauhan10-Sep-08 2:52 
GeneralRe: problem in executing .bat file Pin
Michael Schubert10-Sep-08 3:15
Michael Schubert10-Sep-08 3:15 
GeneralRe: problem in executing .bat file Pin
Madan Chauhan10-Sep-08 3:24
Madan Chauhan10-Sep-08 3:24 

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.