Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Device Context Failed if I use File=>Exit
#4
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
Reply


Messages In This Thread
RE: Release Device Context Failed if I use File=>Exit - by vsub_ - 08-18-2013, 09:52 AM

Forum Jump: