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


  • [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));
Sign In or Register to comment.

Howdy, Stranger!

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


In this Discussion