AddStar inverted res type on intel box

External developers... This forum's for you!

AddStar inverted res type on intel box

Postby gonetriadrr » Fri Feb 12, 2010 2:23 pm

I built an external based on one of the developer tools samples, addStar i believe, compiled fat under ppc tiger that is apparently returning inverted os type on intel box.
Any ideas?

DCS
gonetriadrr
 
Posts: 170
Joined: Fri Jan 08, 2010 6:50 pm

Re: AddStar inverted res type on intel box

Postby gonetriadrr » Fri Oct 08, 2010 9:35 am

Accoding to some python code i read, reversed creators & file types are due to a bug specific to intel boxes.
Anyone know which OS versions to test for?

DCS
gonetriadrr
 
Posts: 170
Joined: Fri Jan 08, 2010 6:50 pm

Re: AddStar inverted res type on intel box

Postby Dave_Higgins » Fri Oct 08, 2010 10:54 am

onetriadrr wrote:Accoding to some python code i read, reversed creators & file types are due to a bug specific to intel boxes.
Anyone know which OS versions to test for?

I used UTGetOSTypeFromString (feeding this function an NSString... other string types will have to be manipulated to convert to fit).

Code: Select all
OSType OSTypeFromString (NSString* osType)
{
   return UTGetOSTypeFromString((CFStringRef)osType);
}

From what I understand, UTGetOSTypeFromString will sort out for you what processor you're using and return the proper four-char-code.
My two favorite teams are Detroit and whoever's playing Chicago.
User avatar
Dave_Higgins
 
Posts: 454
Joined: Mon Jul 07, 2008 9:50 am
Location: Dark Side Of The Moon


Return to Xcode and the Internals Toolbox

Who is online

Users browsing this forum: No registered users and 1 guest