realbasic-plugins
[Top] [All Lists]

How to handle structure ?

To: realbasic-plugins at lists dot realsoftware dot com
Subject: How to handle structure ?
From: "rohit dhamija" <rohit dot dhamija at gmail dot com>
Date: Wed, 19 Jul 2006 22:56:21 +0530
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=H4j7UiYYZoEuKU2hFL2EderlLcoMGw2sHIZZGFG/UldP3Xst8tGDQs9Rs7ei0Yju5a+4pPl/i2MFVIemLIRE6aXtX4XTvx8RUJWmitsuij0l13475qWoMTMTcejyjiC14wy85ZjQ8WoVi4Kj1LBh19fHIfUZ9lEDjvrimgvHGyc=
Hi,

Can you please explain / give a simple program showing how to handle
structure.Below is the structure

FeatureInfo{
int ftrid;
char nameoffeature[10];
}
I have "FeatureInfo" structure in my plugin and need to access its member
variables through my REALbasic application.


I have a function called GetFtrInfo() through which I am able to get the
structure from the REALbasic plugin I developed. But I am not able to access
the variables of this structure.

Please suggest or send a sample code for the same.

Thanks and Regards,
_______________________________________________
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  Wed 19 Jul 2006 21:36:48 +0200
Return-Path: <realbasic-plugins-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id 8B96685AF55; Wed, 19 Jul 2006 12:37:08 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on realxserve.local
X-Spam-Level: X-Spam-Status: No, score=-2.6 required=4.5 tests=AWL,BAYES_00 autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
        by xmail.realsoftware.com (Postfix) with ESMTP id 293D785AF49;
        Wed, 19 Jul 2006 12:37:05 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id 536FA139C110; Wed, 19 Jul 2006 14:36:56 -0500 (CDT)
X-Original-To: realbasic-plugins at lists dot realsoftware dot com
Delivered-To: realbasic-plugins at lists dot realsoftware dot com
Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de
        [80.67.18.14])
        by lists.realsoftware.com (Postfix) with ESMTP id 5C257139C103
        for <realbasic-plugins at lists dot realsoftware dot com>;
        Wed, 19 Jul 2006 14:36:50 -0500 (CDT)
Received: (qmail 9646 invoked from network); 19 Jul 2006 19:36:49 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 120 dot 
106])
        (envelope-sender <support at monkeybreadsoftware dot de>)
        by smtprelay02.ispgateway.de (qmail-ldap-1.03) with SMTP
        for <realbasic-plugins at lists dot realsoftware dot com>;
        19 Jul 2006 19:36:49 -0000
To: realbasic-plugins at lists dot realsoftware dot com (REALbasic Plugins)
In-Reply-To: <44BE2A5F dot 3050006 at einhugur dot com>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Wed, 19 Jul 2006 21:36:48 +0200
Message-ID: <1hiqrz0 dot 1p7oleqpoaw4kM%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
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.7)
Subject: Re: Debugging with CodeWarrior
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

Bj=F6rn Eir=EDksson <bjorn at einhugur dot com> wrote:

I use DebugStr on the Mac as the only point of debugging.

True. I recomment to write yourself a little wrapper to output numbers
easier.

I have myself functions like

void DebugMessage(const char* text, int value)

which are quite handy.

Gru=DF
Christian

--=20
Around eleven thousand functions in one REALbasic plug-in.=20
The Monkeybread Software Realbasic Plugin v6.2.
<http://www.monkeybreadsoftware.de/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>
  • How to handle structure ?, rohit dhamija <=