On Feb 21, 2006, at 10:47 AM, Tony Spencer wrote:
If you're looking for a compile-time mechanism, just use TargetX86.
That's a new one to me. It's not in the Language Reference either.
So #If TargetX86 should solve the problem at runtime...
I don't think so... the "#If" pragma is a compile time directive. If
you are compiling a Mac OS X Mach-O with REALbasic 2006, then it
would always evaluate TargetX86 as false at compile time. I think
that declares and/or the System.Gestalt suggestions are the only
method to determine *right now* if the PPC-built app is running on a
Macintosh Intel computer (through Rosetta).
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>