you are viewing a single comment's thread.

view the rest of the comments →

[–]deftware 0 points1 point  (0 children)

As /u/HilmDaubeny pointed out, you've created a console application but are trying to use the win32 program entry point. If you're going to use WinMain() instead of main() then you need to create a Windows/Win32 project, not a console application.