Question about Visual Studio Visual C++

Our "pub" where you can post about things completely Off Topic or about non-silent PC issues.

Moderators: NeilBlanchard, Ralf Hutter, sthayashi, Lawrence Lee

Post Reply
aristide1
*Lifetime Patron*
Posts: 4284
Joined: Fri Apr 04, 2003 6:21 pm
Location: Undisclosed but sober in US

Question about Visual Studio Visual C++

Post by aristide1 » Sun Aug 12, 2012 7:14 pm

I tried Googling this, but can't get the wording just right.

We currenly have a C program that runs at a DOS prompt, err, Powershell, excuse me.

When it starts the DOS window opens, after that we can type in additional commands.

We're going to put a GUI front end on it. I'm familiar with starting a program, but who do I get additional commands to the program after it starts, i.e. typed into the DOS box, hit "enter."

That's it, and any info is appreciated.

Aris

Pappnaas
Posts: 726
Joined: Mon May 16, 2011 11:23 am
Location: Germany

Re: Question about Visual Studio Visual C++

Post by Pappnaas » Sun Aug 12, 2012 10:42 pm

Powershell scripts are usually started by:

powershell.exe name-and-path-of-script.ps1

So simplest way could be to hardwire any GUI buttons to predefined ps1-files.

Post Reply