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: How does MaLa hide the command line while loading MAME?  (Read 3069 times)

0 Members and 1 Guest are viewing this topic.

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 825
  • Last login:April 09, 2025, 10:13:43 pm
  • On and off hobbyist
How does MaLa hide the command line while loading MAME?
« on: August 08, 2008, 02:32:25 pm »
I don't know how technical the answer to this question is but thought I'd ask.
"The Manuel"

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: How does MaLa hide the command line while loading MAME?
« Reply #1 on: August 08, 2008, 02:50:46 pm »
MaLa starts an emu with the function CreateProcess.
http://msdn.microsoft.com/en-us/library/ms682425.aspx

This function needs a StartupInfo structure and there is one field (wShowWindow) for the visibility of the window.
http://msdn.microsoft.com/en-us/library/ms686331(VS.85).aspx

Here you can find possible values for the visibility parameter.
http://msdn.microsoft.com/en-us/library/ms633548.aspx

MaLa is using SW_HIDE to hide the window.

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 825
  • Last login:April 09, 2025, 10:13:43 pm
  • On and off hobbyist
Re: How does MaLa hide the command line while loading MAME?
« Reply #2 on: August 08, 2008, 03:13:10 pm »
Thanks Swindus.

The reason I asked is because I suggested this to the developer of a screensaver I am using so I will pass along this information.

"The Manuel"