Mac Classic Apps Run Under OS X but Not On Native Classic
Ken Ray
kray at sonsothunder.com
Thu Sep 9 16:28:50 EDT 2004
On 9/9/04 12:53 PM, "Jeanne A. E. DeVoto" <revolution at jaedworks.com> wrote:
> At 1:50 PM -0400 9/8/2004, James.Cass at sealedair.com wrote:
>> So when LongHorn comes out, will the "Win32" designation change to "Win64"
>> when LongHorn is detected?
>
> I'm not sure. (I'm actually kind of mystified why it's "Win32" in the
> first place, rather than the generic "Windows".)
>
> Would the difference between 32-bit and 64-bit Windows matter in such
> a way that it would be useful to distinguish between the two in the
> platform function?
Actually I think it is a carryover from MetaCard to distinguish 16-bit
windows apps from 32-bit ones. Back "in the day", Win32 was used to describe
whether a piece of software was 32-bit compatible or not. However it
probably was a bad idea to make such a specific name. IMHO it should be by
platform ("Macintosh", "Windows", "SPARC", etc.) with optional abbreviations
("Mac", "Win", etc.). To test for whether it's OS X or not, should be a
simple systemVersion check (which would mean that the systemVersion function
should be tweaked accordingly, like:
if the platform is "Mac" then
if the systemVersion >= 10 then
-- do OS X stuff
else
-- do OS 9 stuff
end if
end if
That's my 2 cents...
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list