Hi,
Good idea. I just tried it, and under OS X there is a process called "Classic Support". I suspect this doesn't run in OS 9, so maybe checking for that would tell you if you are in OS X.
-- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com
Actually to think outside of the box, ALL you need to do is to detect ANY essential lower level process that can be found ONLY in OS X but will not be found in OS 9.
Examples are the Window Server or /System/Library/Core/pbs (pasteboard).
If you really need to check for classic then you will have to look for the string "TruBlueEnvironment" when the list of processes is returned to you.
Jesse _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
