Restored from previous forum. Originally posted by Mr.Skunk. On your code, you need AllocConsole_() just before calling GetStdHandle to make it work.
Your temporal.s is not the good way to retreive info from console with your ReadConsoleInput_(). See here :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/hh/winbase/conchar_8p6a.aspYou have to create an input record buffer which is much more than a simple string (key event, mouse event...)
It should works with this input record buffer
Hope it helps...
Mr Skunk
Edited by - mr.skunk on 11 July 2001 17:52:54