I have a project (Win32 application) that I want to change to a console
application. Does anyone know what to edit in which file, to implement
the change?
If you have a win32 windows application, it receives windows messages that
have to be handled to respond to certain events to open and close files for
example, or respond to button clicks. It is interactive
the idea behind most console applications is completely different: you start
a console application with certain command line options, and then let the
program do what it has to do and finish.
of course you can build an interactive program with a console application,
but what is the point in that case?
How difficult this is depends on your program of course, but since the
programming models are so different, there is no quick fix for this.
The best thing you can do is to create a new win32 console project, and then
copy functionality from your old project into the new project. If the old
program has good separation between code and UI, this should be doable
What is it you are trying to achieve here?
--
Kind regards,
Bruno.
(e-mail address removed)
Remove only "_nos_pam"