I am trying to code a HideCursor() function.Iread the MSDN i thought
I knew what to do ..but it turns out my function does not work.
This is how i implemented it.
HANDLE Console = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorInfo(Console,&CursorInfo); // HERE OCCURS THE ERROR, THE FUNCTION FAILS
But it does absolutely nothing.Do not waste time dubugging.
I traced the error and it seems to be System Error 87 : The Parameter is Incorect.
Now why is this happening.I even tried the more radical solution
...that is using a CONSOLE_CURSOR_INFO *CursorInfo. The function failed in that case too.
Please help me find a solution.Thank you!
Somehow, the printf() and cout<< functions don't appear to work in this environment.anybody have an
idea on this?