Is it possible to convert an existing visual studio project file that creates a Win32 application into a project file that creates a Win32 “Console” application? If so, how is this done? I’ve googled and found plenty of people doing the opposite, but none this way.
Share
At the linker level, the distinction is made with the
/SUBSYSTEMswitch to the linker. However, since there is so much other stuff built up around the type of project in Visual Studio, sometimes it’s easiest to create a new console mode project, and add the existing code to the new project.