Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMDI Frame Title Pin
Simon Steele12-Aug-03 3:07
Simon Steele12-Aug-03 3:07 
GeneralRe: MDI Frame Title Pin
G. Steudtel12-Aug-03 5:59
G. Steudtel12-Aug-03 5:59 
GeneralCPropertySheet woes Pin
DodgyG12-Aug-03 2:59
DodgyG12-Aug-03 2:59 
GeneralRe: CPropertySheet woes Pin
David Crow12-Aug-03 3:11
David Crow12-Aug-03 3:11 
GeneralRe: CPropertySheet woes Pin
DodgyG12-Aug-03 3:13
DodgyG12-Aug-03 3:13 
GeneralRe: CPropertySheet woes Pin
David Crow12-Aug-03 3:37
David Crow12-Aug-03 3:37 
QuestionHow can I make Installer for my Offfice2K COM Addin ? Pin
Atif Bashir12-Aug-03 2:41
Atif Bashir12-Aug-03 2:41 
GeneralURGENT! Problem with executing batch file Pin
Da_Hero12-Aug-03 2:35
professionalDa_Hero12-Aug-03 2:35 
HI, i have a problem:
I should write an application executing a batch file which starts an MS-Dos window (console)

a programm is runnning there.

In this console i must send commands "visk[enter]" .... wait some time .... "visreg[enter]" .... and so on...

is this possible??

I searched very much, but can't find the right thing up to now.

Is it possible with this funtions:

CreateProcess (uses PROCESS_INFORMATION, from which i can get the HANDLE
to the window (but what do i need to use? hProcess, or hThread ??

With this can i use "WriteConsole" ????

I think this only writes strings, but i need to execute the command... HOW can I do that???

also it would be good, to get the response from the console output as an errormessage in my app.

Please Help!
I'm german, so if u're too, would be good to talk in german language. Wink | ;)

Greetingz from da HackMan
GeneralRe: URGENT! Problem with executing batch file Pin
David Crow12-Aug-03 3:05
David Crow12-Aug-03 3:05 
GeneralRe: URGENT! Problem with executing batch file Pin
Da_Hero14-Aug-03 5:03
professionalDa_Hero14-Aug-03 5:03 
GeneralPath conversion Pin
Ph@ntom12-Aug-03 2:17
Ph@ntom12-Aug-03 2:17 
GeneralRe: Path conversion Pin
HPSI12-Aug-03 2:25
HPSI12-Aug-03 2:25 
GeneralPost Script Efficency Pin
Abubakar Siddque12-Aug-03 1:57
Abubakar Siddque12-Aug-03 1:57 
GeneralRe: Post Script Efficency Pin
Maximilien12-Aug-03 2:15
Maximilien12-Aug-03 2:15 
GeneralRe: Post Script Efficency Pin
Abubakar Siddque12-Aug-03 3:50
Abubakar Siddque12-Aug-03 3:50 
GeneralRe: Post Script Efficency Pin
Larry J. Siddens12-Aug-03 3:09
Larry J. Siddens12-Aug-03 3:09 
GeneralAcceleration Key Pin
s o v a n n12-Aug-03 1:43
s o v a n n12-Aug-03 1:43 
GeneralRe: Acceleration Key Pin
Steve S12-Aug-03 1:48
Steve S12-Aug-03 1:48 
GeneralRe: Acceleration Key Pin
keegan12-Aug-03 4:23
keegan12-Aug-03 4:23 
Generaldeleting items from list control Pin
si_6912-Aug-03 1:37
si_6912-Aug-03 1:37 
GeneralRe: deleting items from list control Pin
Steve S12-Aug-03 1:47
Steve S12-Aug-03 1:47 
GeneralRe: deleting items from list control Pin
David Crow12-Aug-03 3:14
David Crow12-Aug-03 3:14 
GeneralGetting Application Path Pin
Ph@ntom12-Aug-03 1:05
Ph@ntom12-Aug-03 1:05 
GeneralRe: Getting Application Path Pin
geo_m12-Aug-03 1:15
geo_m12-Aug-03 1:15 
GeneralRe: Getting Application Path Pin
s o v a n n12-Aug-03 1:47
s o v a n n12-Aug-03 1:47 

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.