Re: Screensaver won't run on 10.6 even after porting to 64-bit
Re: Screensaver won't run on 10.6 even after porting to 64-bit
- Subject: Re: Screensaver won't run on 10.6 even after porting to 64-bit
- From: Ben Haller <email@hidden>
- Date: Tue, 13 Oct 2009 10:44:14 -0400
On 12-Oct-09, at 8:14 PM, Charles Srstka wrote:
On Oct 11, 2009, at 9:46 PM, Ben Haller wrote:
Most of the bugs I had to fix were related to either using "long"
instead of "int", or needing a -finalize method.
You should actually probably be using NSInteger instead of either of
those these days.
Yes, but NSInteger is 10.5 or later; I'm keeping 10.4 compatibility
for now. Anyhow, those uses were all in my own internal logic, which
can stay using 32-bit ints.
There's actually a ConvertCocoa64 script found in /Developer/Extras/
64BitConversion that will scan your files for other things that
could bite you in the transition to 64-bit. You should probably give
it a spin, to make sure you're all up to date.
This page contains some handy information, too:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Cocoa64BitGuide/ConvertingExistingApp/ConvertingExistingApp.html
Good stuff, I'll check it out. Thanks Charles!
Ben Haller
Stick Software
_______________________________________________
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