I created a GUI code in Qt 5.2.0 and added release mode dll's in the ../release folder to run as an independent exe. The application runs fine, but whenever I close it, I receive an error stating myApplication.exe has stopped working
Kindly note that this error is obtained after closing myApplication and not while it runs.
Is it due to dll linker issues? In the ../release folder I have added the copied the following dll files,
Here is what I tried to solve this:-
1. Ran CHKDSK, ref
http://windows-exe-errors.com/fixing-windows-explorer-has-stopped-working-error-in-windows-7/
2. Since this didn't work, I tried with disabling DEP(Data Execution Prevention) . When I tried to selectively disable DEP for myApplication.exe, I got the following error:-
2.1. So I disabled DEP for the entire system using bcdedit in command prompt. Ref http://social.technet.microsoft.com/Forums/windows/en-US/0f4f1fa2-bef2-483e-a00f-9c5224e1f403/turn-off-dep
But this did not help either. On closing myApplication.exe, it continues to show the error as mentioned in the title.
Please advise me to solve this challenge.
Kindly note that this error is obtained after closing myApplication and not while it runs.
Is it due to dll linker issues? In the ../release folder I have added the copied the following dll files,
Code:
..\Qt\Qt5.2.0\5.2.0\msvc2010\plugins\platforms ;
..\Qt\Qt5.2.0\5.2.0\msvc2010\plugins\imageformats ;
..\Qt\Qt5.2.0\5.2.0\msvc2010\bin ; ..\OpenCv246\bin ;
msvcp100.dll & msvcr100.dll
Here is what I tried to solve this:-
1. Ran CHKDSK, ref
http://windows-exe-errors.com/fixing-windows-explorer-has-stopped-working-error-in-windows-7/
2. Since this didn't work, I tried with disabling DEP(Data Execution Prevention) . When I tried to selectively disable DEP for myApplication.exe, I got the following error:-
Code:
This program must run with DEP enabled. You cannot turn off DEP for this program
2.1. So I disabled DEP for the entire system using bcdedit in command prompt. Ref http://social.technet.microsoft.com/Forums/windows/en-US/0f4f1fa2-bef2-483e-a00f-9c5224e1f403/turn-off-dep
But this did not help either. On closing myApplication.exe, it continues to show the error as mentioned in the title.
Please advise me to solve this challenge.
My Computer
At a glance
Windows 7 32 bit
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Dell
- OS
- Windows 7 32 bit
- Browser
- Google Chrome