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: Christian Schmitz <realbasiclists@monkeybreadsoftware.de>
Date: Tue, 30 Jun 2009 20:15:00 +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: <FAE7C12B-B0D2-4E77-9948-EA225797549D@mac.com>
References: <C6700BDD.57959%markus_winter@online.de> <357B5136-4553-43D8-8389-1FD51FDB2AE1@declareSub.com> <FAE7C12B-B0D2-4E77-9948-EA225797549D@mac.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

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.

Greetings
Christian


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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


From  Tue 30 Jun 2009 11:17:32 -0700 (PDT)
Delivered-To: listarchive@realsoftware.com
Received: by 10.90.89.10 with SMTP id m10cs381205agb;
       Tue, 30 Jun 2009 11:18:43 -0700 (PDT)
Received: by 10.141.36.17 with SMTP id o17mr2515145rvj.234.1246385922648;
       Tue, 30 Jun 2009 11:18:42 -0700 (PDT)
Return-Path: <realbasic-nug-bounces@lists.realsoftware.com>
Received: from advanced107.inmotionhosting.com (advanced107.inmotionhosting.com 
[74.124.194.228])
       by mx.google.com with ESMTP id 16si433123pzk.52.2009.06.30.11.18.41;
       Tue, 30 Jun 2009 11:18:42 -0700 (PDT)
Received-SPF: neutral (google.com: 74.124.194.228 is neither permitted nor 
denied by domain of realbasic-nug-bounces@lists.realsoftware.com) 
client-ipt.124.194.228;
Authentication-Results: mx.google.com; spf=neutral (google.com: 74.124.194.228 
is neither permitted nor denied by domain of 
realbasic-nug-bounces@lists.realsoftware.com) 
smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Received: from localhost ([127.0.0.1] helo­vanced107.inmotionhosting.com)
        by advanced107.inmotionhosting.com with esmtp (Exim 4.69)
        (envelope-from <realbasic-nug-bounces@lists.realsoftware.com>)
        id 1MLhtw-00011t-JY; Tue, 30 Jun 2009 11:17:52 -0700
Received: from aubrey.canvasdreams.com ([12.180.59.151])
        by advanced107.inmotionhosting.com with esmtps (TLSv1:AES256-SHA:256)
        (Exim 4.69) (envelope-from <fargo@rpgportland.com>)
        id 1MLhtp-000100-Ey for realbasic-nug@lists.realsoftware.com;
        Tue, 30 Jun 2009 11:17:49 -0700
Received: from localhost ([127.0.0.1] helo=rpgportland.com)
        by aubrey.canvasdreams.com with esmtpa (Exim 4.69)
        (envelope-from <fargo@rpgportland.com>) id 1MLhtc-0001XY-Hr
        for realbasic-nug@lists.realsoftware.com;
        Tue, 30 Jun 2009 11:17:32 -0700
Received: from 75.164.145.224 ([75.164.145.224])
        (SquirrelMail authenticated user fargo@rpgportland.com)
        by rpgportland.com with HTTP; Tue, 30 Jun 2009 11:17:32 -0700 (PDT)
Message-ID: <50617.75.164.145.224.1246385852.squirrel@rpgportland.com>
In-Reply-To: <BE7B1CE2-BDCD-4202-A0EE-A79FA5734768@alphaview.com>
References: <c867e59d0906290821w6ee3652eh146631eadccf23f4@mail.gmail.com>
        <49520.71.182.94.210.1246297165.squirrel@www.rpgportland.com>
        <5EFC6360-E744-4835-B2A7-9736C390A51A@mac.com>
        <4D3ADD2D-F2AF-4196-B381-DB379FCAC93B@thedigitalseason.com>
        <3F9D4F24-C8C5-4924-9EF2-8A95C4AB8ED1@classonesoftware.com>
        <7E9A2195-6D49-416F-A3B9-73BA1F46DE27@thedigitalseason.com>
        <B2F5879E-B8F3-4824-B48D-AFFBEB8D7560@classonesoftware.com>
        <9F0FD531-A837-4C25-84D2-247B185E22A0@verizon.net>
        <49392.75.164.145.224.1246383201.squirrel@rpgportland.com>
        <BE7B1CE2-BDCD-4202-A0EE-A79FA5734768@alphaview.com>
Date: Tue, 30 Jun 2009 11:17:32 -0700 (PDT)
Subject: Re: Web based or app based ?
From: fargo@rpgportland.com
To: "REALbasic NUG" <realbasic-nug@lists.realsoftware.com>
User-Agent: SquirrelMail/1.4.13
MIME-Version: 1.0
X-Priority: 3 (Normal)
Importance: Normal
X-AntiAbuse: This header was added to track abuse,
        please include it with any abuse report
X-AntiAbuse: Primary Hostname - aubrey.canvasdreams.com
X-AntiAbuse: Original Domain - lists.realsoftware.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - rpgportland.com
X-BeenThere: realbasic-nug@lists.realsoftware.com
X-Mailman-Version: 2.1.10
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces@lists.realsoftware.com
Errors-To: realbasic-nug-bounces@lists.realsoftware.com
X-AntiAbuse: This header was added to track abuse, please include it with any 
abuse report
X-AntiAbuse: Primary Hostname - advanced107.inmotionhosting.com
X-AntiAbuse: Original Domain - realsoftware.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lists.realsoftware.com

Indeed, and that's how I do it, I was just commenting on why a hosted
solution (and by hosted I mean a regular web hosting solution, not
specifically a database host) may impair a desktop app trying to connect
directly to a db.

Try running it by IP and you will probably go crazy. Many computers
can only connect through dynamic IP addresses. This makes remote
connections to mysql almost unvereable.

It is much simpler to create a php service app to be the data gateway.



Best Regards,

Giovanni

On Jun 30, 2009, at 10:33 AM, fargo@rpgportland.com wrote:


On Jun 29, 2009, at 10:26 PM, Roger Clary wrote:

I had no idea one could do that with RB
So to make that work, you must be hosting your own server, correct?

While I many be ignorant, I don't see why. If you find a place that
hosts MYSql DB for example, why would it not be doable?

BTW that is how many apps worked BEFORE most things moved to
browsers.

- Karen

Most hosts only allow connections from the localhost for databases,
for
security. You can allow hosts by ip typically, but obviously that's
a pain
for an app.




_______________________________________________
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>