I assume you mean in plugins ?
There is a new feature in the Release 4 version of the RB plugin API - hence
my use of plugin shared methods - I appreciate it was not possible to write
plugin class shared methods before but now it is. Why should a function
returning a value and having a byref argument be a problem? There isnt
anything in the ( albeit sparse ) SDK documentation to say it cant be done..
( im not saying you arent right, just that I don't see anything in the docs
that say I cant do this )
On 21/12/07 22:28, "Alfred Van Hoek" <vanhoek at mac dot com> wrote:
>
> On Dec 21, 2007, at 5:24 PM, Daniel Stenning wrote:
>
>> But it needs the byref because its a factory shared method which
>> creates an
>> instance and sets the reference byref. Are you saying byref isnt
>> allowable
>> in plugin methods or shared plugin methods ?
>
>
> A function return value in addition to a byref declaration never
> worked in global method declarations.
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
>
Cheers,
Dan
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
From Fri 21 Dec 2007 23:42:04 +0100
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 9CD6C52D774F; Fri, 21 Dec 2007 14:42:14 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
www.realsoftware.com
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 (m.realsoftware.com [66.116.103.65])
by xmail.realsoftware.com (Postfix) with ESMTP id D83FB52D773C;
Fri, 21 Dec 2007 14:42:09 -0800 (PST)
Received: from m.realsoftware.com (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP id 0ED0AB55EAA;
Fri, 21 Dec 2007 16:42:08 -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 smtprelay01.ispgateway.de (smtprelay01.ispgateway.de
[80.67.18.13])
by lists.realsoftware.com (Postfix) with ESMTP id 6C2CFB55E9F
for <realbasic-plugins at lists dot realsoftware dot com>;
Fri, 21 Dec 2007 16:42:05 -0600 (CST)
Received: (qmail 29398 invoked from network); 21 Dec 2007 22:42:04 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 113 dot
7])
(envelope-sender <realbasiclists at monkeybreadsoftware dot de>)
by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP
for <realbasic-plugins at lists dot realsoftware dot com>;
21 Dec 2007 22:42:04 -0000
To: realbasic-plugins at lists dot realsoftware dot com (REALbasic Plugins)
In-Reply-To: <BAY107-DAV120A56B91A01631AD122DD935E0 at phx dot gbl>
Subject: Re: "Cant find pluginmethod" Assert when loading plugin
From: realbasiclists at monkeybreadsoftware dot de (Christian Schmitz)
Date: Fri, 21 Dec 2007 23:42:04 +0100
Message-ID: <1i9hwgx dot 18kaoavosqx97M%realbasiclists at monkeybreadsoftware
dot de>
MIME-Version: 1.0
User-Agent: MacSOUP/D-2.8.2 (Mac OS X version 10.5.1 (PPC))
X-BeenThere: realbasic-plugins at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot
com>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: realbasic-plugins-bounces at lists dot realsoftware dot com
Errors-To: realbasic-plugins-bounces at lists dot realsoftware dot com
Daniel Stenning <d0stenning at msn dot com> wrote:
> Why should a function
> returning a value and having a byref argument be a problem? =
Years ago there was a bug in RB which made it crashing.
I expect that the new compiler since RB 5 should have fixed that.
Gru=DF
Christian
-- =
Over 900 classes with 18000 functions in one REALbasic plug-in. =
The Monkeybread Software Realbasic Plugin v7.7. =
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|