MVCFramework.Console: EnableVirtualTerminalProcessing crashes on OS < Windows 10 #140
Labels
accepted
Issue has been accepted and inserted in a future milestone
Milestone
When I include MVCFramework.Console.pas in a unit it calls EnableVirtualTerminalProcessing in initialization section where it calls SetConsoleMode. On Windows Server 2011 and 2012 the application closes itself with no error, but leaving an entry in the event log "Error in KERNELBASE.dll".
Possible solution: Check if OS >= Windows 10 before calling SetConsoleMode and output an error message in the console window.
The text was updated successfully, but these errors were encountered: