Connecting Tech Pros Worldwide Forums | Help | Site Map

running a c++ program to invoke hyperterminal

Newbie
 
Join Date: Sep 2007
Posts: 6
#1: Jun 9 '09
hi all,

i am relatively new to c++ programming.

would like to ask is it possible to write a program to invoke the hyper terminal?

in the sense the program will allow user to enter phone number(maybe plus some others parameters like data bits,baud rate) before it invoke hyperterminal?

plus can the program also input command to the hyperterminal which is connected to a modem to do some function?

It'd probably be easier to write the code to poke data down the COM port instead.
but actually the program required to input certain query command to the hyperterminal to download some files from the other end which is using the same modem, thus i am not sure is it still possible to code through COM port.

pls advise and help.

thanks.

Banfa's Avatar
Administrator
 
Join Date: Feb 2006
Location: South West UK
Posts: 6,463
#2: Jun 9 '09

re: running a c++ program to invoke hyperterminal


Hyperterminal has not programming interface, that is you can not control what Hyperterminal does from a program only as a user. It is a very dump program.

Writing a program to send data through a COM port (even using a modem) is not too hard. What platform are you using to write the program (WIN32, MFC, .NET etc)?
Newbie
 
Join Date: Sep 2007
Posts: 6
#3: Jun 9 '09

re: running a c++ program to invoke hyperterminal


Quote:

Originally Posted by Banfa View Post

Hyperterminal has not programming interface, that is you can not control what Hyperterminal does from a program only as a user. It is a very dump program.

Writing a program to send data through a COM port (even using a modem) is not too hard. What platform are you using to write the program (WIN32, MFC, .NET etc)?

i am using windows xp.

actually i wanted the program to allow user to input certain query command to the hyperterminal to download some files from the other end which is using the same modem,

the next following problem is how can i input the hyperterminal parameters(like phone num, baud rate etc) through the program?

i was told that perhaps better still would be to find/download a better terminal emulator that has a better API for programmer's use. There are freely available, open source terminal emulators such as Tera Term and modify the source code directly.

pls advise.thx.
Reply