Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tcl GUI for C application

Status
Not open for further replies.

cuti

Programmer
Oct 2, 2003
5
VN
I have a C application that accepts input from command line and would like to make a Tcl GUI that would let me give input commands through buttons,and output(scrolling data packets) from C program would be shown in text box.C application checks for input with: if(kbhit() && (gets(command)!=NULL)).Does anyone know of any useful examples or has an idea how this could be done?I'm running on Win2000.I've tried to do: open "|myprogram" "w+" but it keeps returning "Couldn't execute : myprogram : no such file or directory" even though it exists and is in the same directory!Any idea what might be wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top