I had this code running perfectly on windows 7 - Python 2.7, once I changed to windows 8 it started crashing after a specific period of time or once it came back from a Callback. Can someone shed some light?
I get - Process finished with exit code -1073740771 (0xC000041D)
I load some data into the GUI from a call to a Callback, and when it tries to go back to the App it crashes.
I debuged it and once it does:
return _core_.PyApp_MainLoop(*args, **kwargs)
from the core module, it crashes.
Anyone have any idea what could be causing this?
I figured out what was going on. During the load of data I was creating a dialog box do get the file path of the file with the data. When doing so, I was creating another instance of the App.
The code was doing:
app = wx.App(None)
but the GUI had already created one with the same name:
app = wx.App(0)
The strange thing is, on windows 7 there was no crash going on, but on windows 8 it crashed all the time.
Thanks for all the help!