Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Device Context Failed if I use File=>Exit
08-18-2013, 08:33 AM
Post: #1
Release Device Context Failed if I use File=>Exit
Does this happen on anyone else.
When I use File=>Exit,I will always get a msgbox with "Release Device Context Failed" in it.

I don't get that msgbox only when I close the window by using the X button(upper right)...it's still appear but so rarely that you could say that it never appear.

It happens on all revs I tried and it doesn't matter if you start a game or not

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
08-18-2013, 09:23 AM (This post was last modified: 08-18-2013 09:30 AM by bonquacks.)
Post: #2
RE: Release Device Context Failed if I use File=>Exit
Not happening to me here on my rig in sig.

Tested with all recent revs with Windows XP.

Used the following exit methods:-

1. File --> Exit.
2. Old UI Exit button
3. New UI Exit button
4. Alt-F4
5. X Button on the top right hand corner of the window
6. Ctrl-Shift-Escape and terminate application from the Task manager.

None of them produce the issue for me.

Pentium D 820 @ 2.8 GHz stock, NVIDIA 7600 GT,1 GB RAM, Windows XP.
Find all posts by this user
Quote this message in a reply
08-18-2013, 09:30 AM (This post was last modified: 08-18-2013 09:30 AM by vnctdj.)
Post: #3
RE: Release Device Context Failed if I use File=>Exit
I also tested and I have no problem ! Wink

♦ Intel Core i7-6700HQ | 16 GB RAM | NVIDIA GeForce GTX 960M | Debian Testing
♦ Intel Core i7-2630QM | 4 GB RAM | NVIDIA GeForce GT 540M | Debian Testing
♦ PSP-3004 | 6.60 PRO-C2
Find all posts by this user
Quote this message in a reply
08-18-2013, 09:52 AM
Post: #4
RE: Release Device Context Failed if I use File=>Exit
Hmm,the Exit screen button and the X button are sending WM_CLOSE which is the normal way to close a window.
Code:
PostMessage(MainWindow::hwndMain, WM_CLOSE, 0, 0);
https://github.com/hrydgard/ppsspp/blob/...creens.cpp
but File=>Exit is sending WM_DESTROY
Code:
case ID_FILE_EXIT:
DestroyWindow(hWnd);
break;
https://github.com/hrydgard/ppsspp/blob/...Window.cpp
http://msdn.microsoft.com/en-us/library/...s.85).aspx

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: