How to force console

Everlast Everlast at For.Ever
Wed Aug 1 20:57:30 UTC 2018


I can create a console for a dll using AllocConsole and special 
Write functions but this is a pain. How do I get all standard 
input and output to either use this console or for the app to 
create the console automatically?

The problem I'm having is that I can write(using custom write) 
but can't read. I'd rather just have a dll with a normal console 
window like a normal program.

I do have `-L/SUBSYSTEM:CONSOLE`

but no console appears.


More information about the Digitalmars-d-learn mailing list