Redirecting input and output from a console
I am creating a GUI interface for a Latin Dictionary programmed in Ada. Since I
don't know Ada, I want to use the compiled EXE of the dictionary program.
My program currently allows the user to select words in a Latin text to look up
and then calls the dictionary in a console window. This creates two problems
which I would like to address:
1) The black background and default font of the console window do not mesh with
the smoother Richtext window I load the Latin text in. 2) The dictionary has to
be reloaded for every word by calling "words.exe wordtolookup".
I would like to be able to load the dictionary in the background and have the
dictionary output redirected into a message box or (even better) richtext box,
and it would also be nice to be able to redirect input for the console.
Then I could just have the dictionary running and simulate keyboard entry to
look up a word rather than reloading it from the command line each time.
Any help with redirecting would be appreciated; I am using Euph 2.5 and
win32lib.
Abram Ring
|
Not Categorized, Please Help
|
|