I am embedding Python 3.4 into my application written in C++. When I enter the program with main() all works great, but when I use WinMain() it crashes. When Py_Initialize is called in main() everything works but in WinMain it fails. I am guessing it has something to do with the console not being there as WinMain() does not create a console.
Thanks!