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 | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Justin Walker