Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

how to detect the Quicktime version in c++?

My Problem is to detect the installed Version of

Apple Quicktime. In my install-programm I want to

decide if I need to update the installed Quicktime

Version (or if Quicktime is installed).

Did anybody know how to read the QT-version with

c++ code? I searched the apple pages but ... nothing.

Thank you


Comments

  • TruthSeeker169TruthSeeker169 Member Posts: 1
    [code]
    // Get QuickTime version
    if(InitializeQTML(0) == noErr)
    {
    if(EnterMovies() == noErr)
    {
    long qtVersion;
    if(Gestalt(gestaltQuickTimeVersion, &qtVersion) == noErr)
    printf("QuickTime %d.%d.%d
    ", ((qtVersion & 0xff000000) >> 24), ((qtVersion & 0x00ff0000) >> 16), ((qtVersion & 0x0000ff00) >> 8));
    ExitMovies();
    }
    TerminateQTML();
    }
    [/code]
Sign In or Register to comment.