Posted: Sun Jan 10, 2010 5:19 pm Post subject: Exiting a process
Say you have a set music to play for the menu, and when they choose something you want to play some other music, how do you exit the music you used "fork" on previously? (and say the process you forked is a never ending loop)
Basically I want to stop playing a certain background music if they click something.
Sponsor Sponsor
registration
Posted: Sun Jan 10, 2010 5:25 pm Post subject: Re: Exiting a process
and also, a second question: how do you deny termination via the X button?
Ktomislav
Posted: Sun Jan 10, 2010 5:45 pm Post subject: Re: Exiting a process
Well, go to Turing documentation and search for "Music.PlayFileStop".
Euphoracle
Posted: Sun Jan 10, 2010 7:39 pm Post subject: RE:Exiting a process
you can't deny termination from the x button. why would you want to anyway?
TheGuardian001
Posted: Sun Jan 10, 2010 7:55 pm Post subject: Re: RE:Exiting a process
Euphoracle @ Sun Jan 10, 2010 7:39 pm wrote:
you can't deny termination from the x button. why would you want to anyway?
Not technically true. While you can't deny termination from within the program's source, it is provided as an option when generating a standalone executable.