C Runtime Error R6019 (original) (raw)

unable to open console device

Remarks

Note

If you encounter this error message while running an app, the app was shut down because it attempted to access the console, but it didn't have sufficient permission. There are several possible reasons for this error, but it's usually because the program must be run as an administrator, or there is a bug in the program.

You can try these steps to fix this error:

Information for Programmers

This error occurs because the app called a console function, but the operating system did not grant access to the console. Except in debugging mode, console functions are generally not allowed in Microsoft Store apps. If your app requires administrator privileges to run, make sure it is installed to run as administrator by default.