tips
[Top] [All Lists]

Is QuickTime installed?

To: "REALbasic Tips" <realbasic-tips at lists dot realsoftware dot com>
Subject: Is QuickTime installed?
From: Geoff Perlman <geoff at realsoftware dot com>
Date: Thu, 04 May 2000 17:11:59 -0500
There are several features in REALbasic that require QuickTime to be
installed. The ExportPicture function for example, depends on QuickTime. If your application uses any QuickTime-dependant feature, you should check to see that the user has QuickTime installed and then take appropriate action
if they don't. You might need to disable a certain feature, or your
application may depend on QuickTime and thus can't do anything useful
without it. To determine if QuickTime is installed, do this:

Dim theEffect as QTEffect

theEffect=GetQTCrossFadeEffect

if theEffect = nil then
msgBox "QuickTime is not installed."
else
msgBox "Quicktime is installed."
end if

This code attempt to load a QuickTime effect. If the effect can't be loaded,
QuickTime is not installed.
--

Geoff Perlman
President & CEO
REAL Software, Inc.
http://www.realsoftware.com
mailto:geoff at realsoftware dot com
Phone: 512-263-1233 x711
Fax:   512-263-1441



 - - - - - - - - - -
Got a useful tip to share? Send it to us at:
REALbasic-tips at lists dot realsoftware dot com dot
For list commands, send "Help" in the body of a message to
<requests at lists dot realsoftware dot com>



<Prev in Thread] Current Thread [Next in Thread>
  • Is QuickTime installed?, Geoff Perlman <=