I can't Hello World!
Rainer Schuetze via Digitalmars-d-ide
digitalmars-d-ide at puremagic.com
Thu Mar 9 23:57:20 PST 2017
On 07.03.2017 02:25, Better World wrote:
> On Sunday, 5 March 2017 at 19:57:56 UTC, Rainer Schuetze wrote:
>>
>> I suspect you started from a Windows Application template. You should
>> then switch the "Subsystem" to "Console" (on the "General" page of the
>> project configuration settings).
>
> Thank you. that worked. I appreciate a little explanation of why it
> didn't work and now works.
With subsystem "Windows", you tell the OS that your application will
have a graphic UI with the usual windows. The OS will not create the
console window in that case and the appropriate file handles will be
invalid. Switching to subsystem "Console" will restore that behavior.
More information about the Digitalmars-d-ide
mailing list