A
A
Alexander2020-09-25 13:50:32
C++ / C#
Alexander, 2020-09-25 13:50:32

Differences between a console application and a Windows application?

In VS I create a project -> windows desktop app wizard -> and in the application type there is a choice, I'm interested in a windows application (exe) and a console application (exe). What is their difference?
In the console, a normal application in the console window.
But the windows application appears there some more External dependencies and resource files, and there the usual problem like Hello World no longer works.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-09-25
@firedragon

If you do not complicate it, then the console
is main - stupidly exits after main
windows winmain - cuts in an endless loop where it listens to queue messages.
Accordingly, the linker creates a black window or not.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question