Re: Replacement for GetApplicationEventTarget?
Re: Replacement for GetApplicationEventTarget?
- Subject: Re: Replacement for GetApplicationEventTarget?
- From: Michael Vannorsdel <email@hidden>
- Date: Thu, 10 Apr 2008 15:16:34 -0600
Great thanks a lot.
On Apr 10, 2008, at 3:11 PM, Jean-Daniel Dupas wrote:
Le 10 avr. 08 à 22:05, Nick Zitzmann a écrit :
On Apr 10, 2008, at 1:21 PM, Michael Vannorsdel wrote:
Is there a replacement function for GetApplicationEventTarget?
I'm looking for one since this is the only thing I have left
that's not 64 bit compatible.
GetApplicationEventTarget() is actually in PPC64 and X86-64 even
though it isn't documented as such, and you'll have to supply your
own prototype. Good thing; otherwise it would be impossible for 64-
bit apps to get some system change notifications... Before anyone
asks, yes, I have a bug on this.
Nick Zitzmann
<http://www.chronosnet.com/>
I'm using this function with 64 bits too, and I just want to make
you avoid a problem I encounter. Follow Nick's advice and declare
your own prototype for 64 bits, else even if GCC only log a warning,
the function call will not be correctly generated and your
application will crash.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden