Skip to content

MVCFramework.Console: EnableVirtualTerminalProcessing crashes on OS < Windows 10 #140

@raketenwurm69

Description

@raketenwurm69

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedIssue has been accepted and inserted in a future milestone

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions