Re: How to know if Classic is running?
Re: How to know if Classic is running?
- Subject: Re: How to know if Classic is running?
- From: Finlay Dobbie <email@hidden>
- Date: Fri, 18 Apr 2003 12:53:46 +0100
On Thursday, April 17, 2003, at 08:06 am, Nick Zitzmann wrote:
1. (Best) Use the sysctl() function to get a list of processes from
the kernel, then check to see if TruBlueEnvironment is present. See
the sysctl() function (not the program) man page and the header files
for details.
2. Use GetNextProcess() and GetProcessIdentification() from the Carbon
Process Manager.
I'd argue that the Process Manager route is better because IMO cleaner
and I think that the sysctl() function returns some Apple private
structures which are documented as being unstable in the headers, but
hey, up to you :-)
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.