Rev & Vista

Ken Ray kray at sonsothunder.com
Sun Apr 29 01:05:54 EDT 2007


On Sat, 28 Apr 2007 12:25:52 -0700, Marty Knapp wrote:

>> 1) Are there any known problems, in general, with a Rev 2.6.1 
> standalone running in Vista?

None that I am aware of, however you won't have controls that take on 
the Vista look and feel; you'll need to go to Rev 2.8 for that.

> 2) On Vista, what does Rev return with "the platform" function?

Win32

> 3) Is there a difference in what "specialFolderPath" returns between 
> XP & Vista?

Yes - see the tip here:

   http://www.sonsothunder.com/devres/revolution/tips/file010.htm

Scroll to the bottom to see Vista's codes.

> 4) Are there differences between the various versions of Vista that I 
> should know about?

None that affect Rev users, I don't think (although someone feel free 
to step in and clarify).

Also look at the "Vista Gotchas" tip:

    http://www.sonsothunder.com/devres/revolution/tips/env007.htm 

> Here's a couple of handlers that I use, that I'm particularly 
> wondering about with regard to Vista:
> 
> #store user data--
> function docPath
>  if the platform contains "Win" then
>    return specialFolderPath("Documents") & "/MyApplicationData"
>  else if the platform contains "MacOS" then
>    return specialFolderPath("docs") & "/MyApplicationData"
>  end if
> end docPath

Should be fine - the "Documents" special folder path is different on 
Vista, but does the same thing.
 
> #store registration info--
> function appSupportPath
>  if the platform contains "Win" then
>    return specialFolderPath("35") & "/registration.txt"
>  else if the platform contains "MacOS" then
>    return specialFolderPath("asup") & "/.registration.txt"
>  end if
> end appSupportPath

Should be OK too...


Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/



More information about the use-livecode mailing list