Re: objc_msgSend problems on x86
Re: objc_msgSend problems on x86
- Subject: Re: objc_msgSend problems on x86
- From: Guy English <email@hidden>
- Date: Sat, 11 Feb 2006 02:30:36 -0500
Hi Rosyna,
if (objc_msgSend(string, NSSelectorFromString(CFSTR
("isEqualToString:")), otherString))
The above code produces no error. But it does not work 100% of the
time on the ICBMs. It works 100% of the time on the PPCs. Whether
it works or not on the ICBMs seems to be a total crapshoot.
When you say it doesn't work does it fail given the same input
strings all the time?
What's in the AX register after the call fails? Are AH and AL
inverted in some wacky way, as in does AH hold the correct result all
the time while AL varies? What happens if you make sure AX is zeroed
before the call? Oh, and if you use @"isEqualToString:" does that fix
it?
Anyway - it's nutty. :)
Take care,
Guy
_______________________________________________
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