realbasic-plugins
[Top] [All Lists]

Re: USB Help, Fundamentals perspective

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: USB Help, Fundamentals perspective
From: Charles Yeomans <yeomans at desuetude dot com>
Date: Sat, 4 Feb 2006 16:50:39 -0500
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <f5c6a5400602031502h248c7b4cp1344c49fb4dcfa8c at mail dot gmail dot com>

On Feb 3, 2006, at 6:02 PM, DeanG wrote:

I've been digging at docs and for writing a plug-in for my own USB
integration, focusing on attach/detach notification.  (Later I'll
delve into the IOUSBHid nuances for non-standard HID device)

Part I:
I'm looking to perform similar functin in an RB for the following sample:

http://developer.apple.com/samplecode/USBPrivateDataSample/ listing1.html

I expect I'll need to do this in a plug-in.  If Declare's will get me
there, I'm all ears.

My app is a OS X daemon app. (ServiceApplication)

I'm stumped on the RunLoop integration:

    CFRunLoopRef  gRunLoop = CFRunLoopGetCurrent();
    CFRunLoopAddSource(gRunLoop, runLoopSource, kCFRunLoopDefaultMode);

Can I trust this call within my plugin from either the main or child RB thread?

I recall having done just this via declares, and it appeared to work okay.

--------------
Charles Yeomans

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


From  Sun 5 Feb 2006 01:32:08 +0100
Return-Path: <realbasic-plugins-bounces at lists dot realsoftware dot com>
Received: from lists.realsoftware.com (209.198.132.125) by realsoftware.com
with ESMTP (Eudora Internet Mail Server 3.1.3);
Sat, 4 Feb 2006 18:32:22 -0600
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id C4BC710C0048; Sat,  4 Feb 2006 18:32:13 -0600 (CST)
X-Original-To: realbasic-plugins at lists dot realsoftware dot com
Delivered-To: realbasic-plugins at lists dot realsoftware dot com
Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de
        [80.67.18.15])
        by lists.realsoftware.com (Postfix) with ESMTP id AE1C810C003B
        for <realbasic-plugins at lists dot realsoftware dot com>;
        Sat,  4 Feb 2006 18:32:09 -0600 (CST)
Received: (qmail 20499 invoked from network); 5 Feb 2006 00:32:08 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 117 dot 
98])
        (envelope-sender <support at monkeybreadsoftware dot info>)
        by smtprelay03.ispgateway.de (qmail-ldap-1.03) with SMTP
        for <realbasic-plugins at lists dot realsoftware dot com>;
        5 Feb 2006 00:32:08 -0000
To: realbasic-plugins at lists dot realsoftware dot com
From: support at monkeybreadsoftware dot info (Christian Schmitz)
Date: Sun, 5 Feb 2006 01:32:08 +0100
Message-ID: <1ha9is8 dot 5wazme1espafbM%support at monkeybreadsoftware dot info>
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
        Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.7 (Mac OS X version 10.4.4)
Subject: gcc 4.x on Linux?
X-BeenThere: realbasic-plugins at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot 
com>
Sender: realbasic-plugins-bounces at lists dot realsoftware dot com
Errors-To: realbasic-plugins-bounces at lists dot realsoftware dot com

Hi,

currently I compile using "gcc (GCC) 3.3.2 20031022" on linux.

Can I switch to 4.x without a problem with Realbasic?

Or do I face trouble like on Mac OS where a move to gcc 4 breaks
compatibility with Mac OS X 10.3.8 and older?

Mfg
Christian

--
Around eleven thousand functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin.
<http://www.monkeybreadsoftware.info/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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