The NEW Build Your Own Arcade Controls

Front End Support => MaLa Frontend => Topic started by: TheManuel on August 08, 2008, 02:32:25 pm

Title: How does MaLa hide the command line while loading MAME?
Post by: TheManuel 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.
Title: Re: How does MaLa hide the command line while loading MAME?
Post by: swindus 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.
Title: Re: How does MaLa hide the command line while loading MAME?
Post by: TheManuel 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.