Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QT4J APIs Finding QT Native Comps



> My understanding is that QT4J is basically a Java wrapper for the native
> QuickTime APIs. So, when writing a QT4J application, you would need to
> include the QT4J zip file on your classpath in order to find and use these
> APIs. But, how do the QT4J APIs find and interact with the native QuickTime
> APIs? Is there some sort of a classpath equivalent for this scenario, where
> the programmer could basically say where to point to find the native QT
> components?

The "native" APIs are system libraries (e.g. DLLs on Windows) and it's a
responsibility of the system to locate and load them when the QTJava code refers
to them by their image name (for example "QTJavaNative.DLL").

The Windows OS searches first in the folder where your executable resides, then
in the Windows folder (and windows system [or system32 on WinNT/2000/XP] folder)
and then on all folders listed in the PATH environment variable

The programmer shouldn't need to say where the QT DLLs are, they're installed in
the Windows system folder. Similarly on the Mac they're in the "System" folder
at the "Extenstions" subfolder I believe
_______________________________________________
quicktime-java mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-java
Do not post admin requests to the list. They will be ignored.

References: 
 >QT4J APIs Finding QT Native Comps (From: "Daniel Walsh" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.