Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: myApplication.exe has stopped working after closing the window

16 Jul 2014   #1
venom8914

Windows 7 32 bit
 
 
myApplication.exe has stopped working after closing the window

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,
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...-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/...3/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 System SpecsSystem Spec
.
17 Jul 2014   #2
pixaeiro

Windows 7 Professional 64bit
 
 

Are you developing this application in Visual Studio 2010? If so, what happens if you run the application in debug mode? Running in debug mode will attach your application to the Visual Studio debugger, so when it stops the debugger will tell you exactly why!
My System SpecsSystem Spec
17 Jul 2014   #3
venom8914

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by pixaeiro View Post
Are you developing this application in Visual Studio 2010? If so, what happens if you run the application in debug mode? Running in debug mode will attach your application to the Visual Studio debugger, so when it stops the debugger will tell you exactly why!
Thanks pixaeiro, I developed this application using Qt 5.2.0 which uses a MSVC2010 compiler and debugger. I am running the application in release mode. I don't think debugger can be used in release mode.
My System SpecsSystem Spec
.

18 Jul 2014   #4
pixaeiro

Windows 7 Professional 64bit
 
 

I'm a bit confused! What IDE are you using to build the project? Qt Creator or Visual Studio 2010?
Yes, you can run a Release executable with the debugger attached, but the debugger windows (Watch, Call Stack) will not be able to show some data.
I suggest you compiling and running the application in Debug mode, attached to the debugger (F5 in VS2010).
My System SpecsSystem Spec
Reply

 myApplication.exe has stopped working after closing the window




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Desktop Window Manager stopped working
HI I have just up-dated all my drivers using " Driver Update " and now when i try to open some programs i get a fatal error message and a message that " Desktop manager stopped working " Any help appreciated david stokes
Graphic Cards
"Desktop Window Manager stopped working and was closed"
I get this problem or error "Desktop Window Manager stopped working and was closed" every time I stay logged on but "switch users". When I come back to my user account, there are two messages on my taskbar that both say "Desktop Window Manager stopped working and was closed". I have uninstalled...
BSOD Help and Support
window exploxer has stopped working
this is from the event log explorer.exe 6.1.7601.17567 4d6727a7 bhoclass.dll 1.0.0.1 4f79fd40 c0000005 000055e6
BSOD Help and Support
USB devices stopped working; Window 7 Code 19 Failure loading Using th
Trouble shooters and windows fix-it centre no longer work; previously was able to restore devices which would stop working after a shutdown. Windows File Checker utility (sfc.exe) reports "Windows Resource Protection did not find any integrity violations" The following is a diagnostic report....
Drivers
Window Explorer Stopped Working
Hi Buddy I use win7 32bit when i open a media file mkv or avi in my computer this messege apear Window Explorer Stopped Working plzzzzz Yaar solve my problem
BSOD Help and Support
Certain image editing/viewing software "stopped working" Window close
Hi, I'm hoping someone can see a pattern between the software that works and doesn't work on my Windows 7 64 bit laptop. In the past month (Jan-Feb 2011) a lot of the software I use to edit or display images and graphics will no longer run (crashes). System: Windows 7 64 bit SP1. 3 GB RAM,...
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App