flat assembler
Message board for the users of flat assembler.
Index
> Windows > How to save and restore complete console state? |
Author |
|
Picnic 23 Aug 2018, 10:45
Hi CandyMan,
You have to gather all the available console information first. GetConsoleScreenBufferInfo GetConsoleCursorInfo GetConsoleMode GetConsoleCP etc Create your own active console (optionally). CreateConsoleScreenBuffer SetConsoleActiveScreenBuffer SetConsoleMode SetConsoleCP etc Restore the original console information on exit. SetConsoleActiveScreenBuffer SetConsoleTextAttribute SetConsoleCursorInfo SetConsoleWindowInfo SetConsoleScreenBufferSize SetConsoleMode SetConsoleCP etc Hobby Basic does exactly that, it saves and restores complete console state. |
|||
23 Aug 2018, 10:45 |
|
CandyMan 23 Aug 2018, 15:48
Thanks for the help.
PS. After download and unpacking the Microsoft Security Essentials is detecting the Trojan Horse (Win32/Tiggre!plock) in the file "HB.EXE". _________________ smaller is better |
|||
23 Aug 2018, 15:48 |
|
Picnic 23 Aug 2018, 19:37
There are some false virus alerts but i'm trying to fix this problem. I think i'm on the right track.
|
|||
23 Aug 2018, 19:37 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.