My program work fine, but when I run it from CodeBlocks and close it I do sometimes receive this error:
-------------- Run: Release in Integral (compiler: GNU GCC Compiler)---------------
Checking for existence: E:\My Documents\Integral\bin\Release\Integral.exe
Executing: "E:\My Documents\Integral\bin\Release\Integral.exe" (in E:\My Documents\Integral\.)
Process terminated with status -1073741819 (0 minute(s), 10 second(s))
Sometimes it closes fine:
-------------- Run: Release in Integral (compiler: GNU GCC Compiler)---------------
Checking for existence: E:\My Documents\Integral\bin\Release\Integral.exe
Executing: "E:\My Documents\Integral\bin\Release\Integral.exe" (in E:\My Documents\Integral\.)
Process terminated with status 0 (0 minute(s), 5 second(s))
What causes this error?
My program is terminated with
void IntegralFrame::OnQuit(wxCommandEvent& event)
{
Close();
}
I am using Codeblocks 17.12, WxWidgets 3.1.3 and Win10