Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Error Closing NullDC  (Read 4166 times)

0 Members and 1 Guest are viewing this topic.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:June 29, 2025, 09:09:57 am
  • ...
Error Closing NullDC
« on: January 10, 2010, 05:06:03 pm »
I installed NullDC and have it working for the most part.
It launches in full screen and plays fine.
The problem arises when I try to close it.
I'm using hotkeys to close:

Name: Close
Type: Close
Source: Esc

The emulation windows closes, the console window doesn't, then
I get the message "nullDC_1.0.3_mmu.exe has stopped working"

The next time a game launches, it launches in a window, not fullscreen.
It closes fine as long as the game is running in a window. 
I go back into the cfg file and turn fullscreen back on, games will launch in fullscreen & the exiting problem returns.

I'm testing this on my main computer running Vista 64, but the same thing happens on my MALA setup, which is running 32 bit XP Pro.

Anyone else have this issue and find a solution?

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:June 29, 2025, 09:09:57 am
  • ...
Re: Error Closing NullDC
« Reply #1 on: January 11, 2010, 07:15:57 pm »
Update:  Set the cfg file to read only, so NullDC can't change the fullscreen setting.
I still get the error message on exit.  After I close out the error message, the next launch works as it should.
Is there a way to make windows "not care" that the program has stopped working and go ahead and close it?


BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:June 29, 2025, 09:09:57 am
  • ...
Re: Error Closing NullDC
« Reply #2 on: January 11, 2010, 08:47:39 pm »
Found somewhat of a workaround.  It will do for now......

NullDC cfg file is set to read only, so it can't change the fullscreen settings back.

Since it only crashes when in fullscreen, I made a hotkey to post Alt+Esc to switch focus, which knocks it out of fullscreen.
Then another hotkey to close it.....and no error message.  :applaud:

I used the 2 and the 4 which is how I'm used to exiting MAME on my x-arcade anyway.
Press 2 first, then press 4 when your Mala layout pops back up.
(or hold down both until you see the Mala layout)






« Last Edit: January 11, 2010, 09:03:26 pm by BadMouth »

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:June 29, 2025, 09:09:57 am
  • ...
Re: Error Closing NullDC
« Reply #3 on: January 11, 2010, 09:47:24 pm »
ok, after hours spent finding a workaround, I go downstairs to implement it on my MALA setup that runs XP,
......and it exits just fine without the workaround.    :timebomb:
At least setting the cfg file to read only was useful.

Maybe a Vista 64 thing?  I seem to run into a lot of Vista 64 things.   :angry:

« Last Edit: January 11, 2010, 10:03:33 pm by BadMouth »