Path: utzoo!utgpu!watmath!clyde!att!rutgers!apple!well!wdh
From: wdh@well.UUCP (Bill Hofmann)
Newsgroups: comp.sys.mac.programmer
Subject: Re: DA problem under Multifinder
Keywords: LSC, option key, DA Handler
Message-ID: <7776@well.UUCP>
Date: 28 Nov 88 18:25:00 GMT
References: <8268@ut-emx.UUCP>
Reply-To: wdh@well.UUCP (Bill Hofmann)
Organization: Whole Earth 'Lectronic Link, Sausalito, CA
Lines: 21

In article <8268@ut-emx.UUCP> jdm@ut-emx.UUCP (Jim Meiss) writes:
>
>	I'm perplexed about the some weird behavior
>in a DA I'm writing using LSC 3.0. 

As far as I know, the problem you describe is not your fault.  Here's
what happens:
1.	When you open a DA with the option down, the DA is opened
	and the DCE entry FOR THE TOPMOST APPLICATION is filled.
2.	When you open a DA without option, DA Handler takes care
	of it (ie, MultiFinder checks to see whether it's launched,
	if not, do it and make it frontmost, else, just make it 
	frontmost, and then there is some unknown (to me) hack to make
	it open the DA you chose.
	In this case, the DCE in the DA Handler is filled.
Each application has its own version of the Unit Table (that is, unique
entries are swapped out).  This is the problem.  MultiFinder only knows
how to launch DA Handler, it doesn't know how to (or doesn't) search
through all the open applications for an open driver.

-Bill