Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Toucan

Pages: [1]
1
General discussions / Re: SFML Main
« on: May 05, 2019, 06:50:53 pm »
I was able to solve this problem by following the instructions in this post on MSDN in combination with adding WinMain with the extern reference to main shown in answers above.

"Look out for the Entry point settings in linker section. As for other MFC based projects with MFC 8.0, I think it should be WinMainCRTStartup instead of wWinMainCRTStartup." My Entry point option was initially blank, but setting it to WinMainCRTStartup worked!

Admittedly, I may have created my project as the wrong type. If you think that may be the case, this should fix your problem.

Pages: [1]
anything