QG_GetQuickTimeVersion

QG_GetQuickTimeVersion(versionString):errorCode
versionString String8 QuickTime version
error Longint Error result

Returns an encoded string value that expresses the QuickTime version number.

CharactersDescription
1F = final, B = beta, A = alpha, D = development
2-3-4Internal number
5-6Version number
7Update number
8Revision number

For example, the string "F0000403" stands for the final release of version 4.03.

If QuickTime is not installed, an error code is returned and versionString is set to an empty string.

Example

`Check for QT 4.0 or later
 
C_LONGINT($error)
C_STRING( 8;$qtVersion)
C_BOOLEAN($qtVersionOK)
 
$qtVersionOK:=False
$error:=QG_GetQuickTimeVersion($qtVersion)
 
If ($error= qg_noErr )
 
  $qtVersionOK:=(Num(Substring(gQTVersion; 5))>=Num("0400"))
 
Else
  ` Handle the error
End if

QGrid © Escape
Generated by QDoc 2.8 on Thu, Oct 8, 2009 17:36:16