Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Exiting a process
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
registration




PostPosted: 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
Sponsor
sponsor
registration




PostPosted: 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




PostPosted: Sun Jan 10, 2010 5:45 pm   Post subject: Re: Exiting a process

Well, go to Turing documentation and search for "Music.PlayFileStop".
Euphoracle




PostPosted: 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




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: