You are not logged in.
Hi Folks,
you have to disable the QuickEdit Mode in the command-line on Windows 10 / Windows Server 2019.
Else your application hangs, waiting for key-input, as soon as you click inside the window.
Solution: https://stackoverflow.com/questions/338 … windows-10
Regards,
sevo
Offline
In fact, this feature is useful for me I use it sometimes while debugging some long-term operations when I see something happened and want to pause it and read the log immediately.
Offline
We disable such behavior programmatically in our app to prevent pause on mouse select. The same can be done in other apps
{$IFDEF MSWINDOWS}
var
oldmode, newmode: DWORD;
{$ENDIF}
begin
{$IFDEF MSWINDOWS}
GetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), oldmode);
newmode := oldmode xor ENABLE_EXTENDED_FLAGS; // prevent pause on mouse select
SetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), newmode);
{$ENDIF}
In fact under Windows mORMot usually executed as a service, so I don't think we should add this in mORMot itself
Last edited by mpv (2020-05-15 18:46:41)
Offline