QT version on Windows
Dave Cragg
dcragg at lacscentre.co.uk
Tue Oct 11 06:45:23 EDT 2005
On 11 Oct 2005, at 09:52, xbury.cs at clearstream.com wrote:
>
> put queryregistry("HKEY_LOCAL_MACHINE\software\apple Computer,
> Inc.\quicktime\version","text") into data
>
> get binarydecode("h*", data, x)
> you get x = "00080360"
>
> if you reverse that string you get what i saw correctly in the
> registry..
This gives me what I see in the registry. (in this case version 7.0.2)
put queryregistry("HKEY_LOCAL_MACHINE\software\apple Computer, Inc.
\quicktime\version","text") into data
local t1,t2,t3,t4
get binaryDecode("H2H2H2H2",data,t1,t2,t3,t4)
put t4&t3&t2&t1
--> 07028000
I'm not sure if this is any help to sims. I assume digits 1-2 are the
main version number, digit 3 is the subversion, and digit 4 is the
sub-sub version. But this probably needs some more confirmation.
I also see there's a registry entry that give the location of QuickTime.
HKEY_LOCAL_MACHINE\software\apple Computer, Inc.\quicktime\InstallDir
Any use?
> Nothing else seems to not work the way it's supposed to but im no
> expert
> in the binarydecode function...
I know what you mean. I think the docs may need some revision. Every
time I read about binaryDecode and binaryEncode my head hurts.
Generally, it's trial and error.
Cheers
Dave
More information about the use-livecode
mailing list