JackRnl
Chemical
- Dec 20, 2005
- 6
I have an old program using Escape sequences for userinteraction on a screenbasis. It has bene working on many different systems and all those escapesequences are generated in ONE routine working on the definition of what has to be shown.
Now (after over 10 years) I need to make that program run under XP . I tried loading ANSI.SYS and some 'solutions' i found on the web but no succes.
So I think best thing to do now is to rewrite that routine that's actually displaying the escapesequences (I've done that in the past for a number of systems so that's not a big deal as such) and use 'something else'.
I just 'played' a bit trying to get a consolewindow . I can position cursor and write something, but i still don't know how to read a KEY, how to use color and such things.
So i wonder if a good example exists showing how such things can be done.
I also don't know if a another approach (NOT using a consolewindow) wouldn't be suited more.
As I expect others to have experience with such a conversion I would appreciate any help.
It's OK to me if I need/can use C++ / C# or VB to 'assist' in creating those (interactive) screens
thanks in advance
Now (after over 10 years) I need to make that program run under XP . I tried loading ANSI.SYS and some 'solutions' i found on the web but no succes.
So I think best thing to do now is to rewrite that routine that's actually displaying the escapesequences (I've done that in the past for a number of systems so that's not a big deal as such) and use 'something else'.
I just 'played' a bit trying to get a consolewindow . I can position cursor and write something, but i still don't know how to read a KEY, how to use color and such things.
So i wonder if a good example exists showing how such things can be done.
I also don't know if a another approach (NOT using a consolewindow) wouldn't be suited more.
As I expect others to have experience with such a conversion I would appreciate any help.
It's OK to me if I need/can use C++ / C# or VB to 'assist' in creating those (interactive) screens
thanks in advance