realbasic-nug
[Top] [All Lists]

Re: How to get the handle to a QTVideoTrack?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: How to get the handle to a QTVideoTrack?
From: Arnaud Nicolet <anic297@mac.com>
Date: Tue, 30 Jun 2009 22:44:08 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <4572DD69-1236-427F-9755-7C36B2DC45F0@monkeybreadsoftware.de>
References: <C6700BDD.57959%markus_winter@online.de> <357B5136-4553-43D8-8389-1FD51FDB2AE1@declareSub.com> <FAE7C12B-B0D2-4E77-9948-EA225797549D@mac.com> <4572DD69-1236-427F-9755-7C36B2DC45F0@monkeybreadsoftware.de>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Le 30 juin 09 à 20:15, Christian Schmitz a écrit:

Am 30.06.2009 um 19:04 schrieb Arnaud Nicolet:

Le 30 juin 09 à 18:54, Charles Yeomans a écrit:

Someone told me "It's the address of an object". Is that wrong?

Not always.

A handle is a number, a ticket. Something to identify something later in your application. Your application doesn't know normally what it is.

* On Mac OS X a handle can be often a pointer to a pointer to data. This way old Mac OS versions had a way to move data in memory as only the second pointer changes.
* On Windows it is often an index in a table with objects.
* Sometimes a handle is an object reference.

The good thing is: Your app does not care. So if from one OS Version to the next the handle is no longer an object, but in index in a table, your app won't notice and still work.

Ah yes, I see. Thank you.
Greetings
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>