RE: Multiple instances of an app open?
RE: Multiple instances of an app open?
- Subject: RE: Multiple instances of an app open?
- From: "John Stiles" <email@hidden>
- Date: Wed, 24 Aug 2005 16:32:59 -0700
- Thread-topic: Multiple instances of an app open?
Pre-OS X, I heard of an app developer faced with a problem much like yours. Their solution was to embed basically the whole app into a DLL and then they could use CFM to instantiate as many as they needed, and it was fairly clean and all inside one process.
I think this sort of solution might still be applicable on OS X.
-----Original Message-----
From: cocoa-dev-bounces+jstiles=email@hidden on behalf of Theodore H. Smith
Sent: Wed 8/24/2005 12:15 PM
To: Cocoa List
Subject: Multiple instances of an app open?
Is it possible to open multiple instances of a Cocoa app?
I know you are going to have something to say about this. The app is
a windows app, that I've ported. They've done it in such a way that
if they wanted to make it multiple document, it would have to be
rebuilt from the ground up. Tons of global variables for just about
everything. Even stuff that should be passed on the stack is made
global, for no reason I can see.
So there is no way this app can be made multiple document based.
Is there any way multiple instances of the app can be opened then? I
know this is wrong and bad, but I'd just like to know. I'd like to do
it in a graceful way for the user, not ask them to duplicate the app
in the Finder :)
--
http://elfdata.com/plugin/
What does our work achieve, if it's not making the world a happier
place?
http://www.whatnextjournal.co.uk/Pages/Next/Happiness.html
When's the last time you thought deeply about how to improve our lives?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden