fgenolini / frank

Frank coding experiments
MIT License
1 stars 1 forks source link

Remove DOS window on Microsoft Windows #23

Closed fgenolini closed 4 years ago

fgenolini commented 4 years ago

On Windows, a black DOS window is displayed As a user of a Microsoft Windows 10 PC, I want to run the frank video application by clicking on the shortcut on the start menu, without a black DOS window distracting me.

WinMain Use winmain instead of main, so that the frank video application is configured as a windowed application without a DOS command window attached.

Ignore the DOS window If nothing is done, the DOS Window is shown and is of no real value to a normal windows user, although it does show developer information such as debug messages and any error information that may occur.

Windows only application On Microsoft Windows, an application is started by clicking on a shortcut on the start menu, instead of first starting a terminal and then typing a command.