It is currently Sat Jul 12, 2014 5:03 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Question about Visual Studio Visual C++
PostPosted: Sun Aug 12, 2012 7:14 pm 
Offline
*Lifetime Patron*

Joined: Fri Apr 04, 2003 6:21 pm
Posts: 4247
Location: Undisclosed but sober in US
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

_________________
People who put money and political ideology ahead of truth and ethics are neither´╗┐ patriots nor human beings.


Top
 Profile  
 
 Post subject: Re: Question about Visual Studio Visual C++
PostPosted: Sun Aug 12, 2012 10:42 pm 
Offline

Joined: Mon May 16, 2011 11:23 am
Posts: 604
Location: Germany
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group