Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ClassicEnvironment



On Tuesday, January 6, 2004, at 07:25 PM, Matt Jaffa wrote:

Hi all,

Is it possible to find out all the running apps in classic environment.

Not directly from the Mac OS X side. I believe that the Mac OS X Finder communicates somehow with the Classic 'environment' so that individual Classic apps show up in the dock, but I don't think that set of APIs is public. There's definitely no way to get that information directly from the kernel.

My KEXT is a dlil interface filter, it gets the current proc, however there is only on pid for a classic app, the TruBlueEnvironment. By using that is it possible to find out all the running apps under that, since a classic app running in TruBlueEnvironment does not have its own unix pid.

Correct. 'Classic' is a more-or-less complete Mac OS 9 environment in a process. That was the simplest way to get the kind of fidelity needed.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | "Weaseling out of things is what
| separates us from the animals.
| Well, except the weasel."
| - Homer J Simpson
*--------------------------------------*-------------------------------*
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
References: 
 >ClassicEnvironment (From: Matt Jaffa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.