• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Still struggling with Universal Binaries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still struggling with Universal Binaries


  • Subject: Re: Still struggling with Universal Binaries
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 1 Feb 2006 13:05:03 -0500
  • Organization: Rogue Research

On 2006-01-31 19:29, Aram Kudurshian said:

>I posted a while back ago about converting a method I had to work
>with universal binaries and had thought that the following code would
>have solved the issue.  Turns out I was wrong and now, re-reading
>information online, I'm wondering if the only reason this compiled is
>because Xcode simply ignored what was contained in the #else as I was
>compiling on a PowerPC machine.
>
>So, can anyone point me in the right direction of converting my one
>and only function that fails to work with Intel machines?  Is there
>no way to simply say, look ... if it's a PPC machine, execute this
>code but if it's an intel one, go ahead and grab the big endian value
>and then execute the code.
>
>Thanks,
>	Aram
>
>- (BOOL) allKeysPressed:(int)inMask {
>
>     KeyMap theKeys;
>     GetKeys(theKeys);

I replied to you last time... I went though the exact same thing, and
the easiest thing to do is stop using KepMap and use KeyMapByteArray, see:

<http://lists.apple.com/archives/carbon-dev/2005/Sep/msg00013.html>

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Distributed Objects and Retain
  • Next by Date: NASM ld support?
  • Previous by thread: NSAnimation crash
  • Next by thread: NASM ld support?
  • Index(es):
    • Date
    • Thread