🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.oop.powerplant
3 messages
3 total messages Started by wall Wed, 24 Sep 2003 06:24
How to run a application in my program
#11
Author: wall
Date: Wed, 24 Sep 2003 06:24
3 lines
1275 bytes
I want to run QuickTime application to play movie files in my program.
which function can do this,who knows how to do that?
Give me a advice.
Re: How to run a application in my program
#12
Author: Jim Schimpf
Date: Thu, 25 Sep 2003 09:47
15 lines
1913 bytes
heroin_c@hotmail.com (wall) wrote in message news:<7328a61a.0309232224.620832eb@posting.google.com>...
> I want to run QuickTime application to play movie files in my program.
> which function can do this,who knows how to do that?
> Give me a advice.

   If you are writing in C or Objective C you can use the system()
call (in Project Builder get the Unix Man page...).  Or you can use
NSTask to fit better in a Cocoa world.  If you want some advice on
NSTask go to Cocoa Dev Central they have at least one tutorial on it. 
On system() there are many examples available via google.

  It does get a lot harder if you want the Movie player to put the
movie in YOUR window rather than it's default one.

      --jim
Re: How to run a application in my program
#13
Author: David Phillip Oster
Date: Thu, 25 Sep 2003 16:19
9 lines
2156 bytes
In article <7328a61a.0309232224.620832eb@posting.google.com>,
 heroin_c@hotmail.com (wall) wrote:

> I want to run QuickTime application to play movie files in my program.
> which function can do this,who knows how to do that?
> Give me a advice.

Take a look at the Powerplant Contributed Class Archive. Particularly 
LMoovController
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads