realbasic-plugins
[Top] [All Lists]

Re: [BUG?] Plugin Class Constructor not compiles in RB 2006/2007

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: [BUG?] Plugin Class Constructor not compiles in RB 2006/2007
From: Ruslan Zasukhin <sunshine at public dot kherson dot ua>
Date: Fri, 30 Mar 2007 23:54:51 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Thread-index: AcdzDaj452nPht8AEduuqAANkzDgag==
Thread-topic: [BUG?] Plugin Class Constructor not compiles in RB 2006/2007
On 30/3/07 10:49 PM, "Jonathan Johnson" <jonj at realsoftware dot com> wrote:

>> Wow?!   :-(
>> 
>> This is somehow not smart IMHO.
>> Valentina have few hundreds of methods...
> 
> We understand, and we have quite a few ourselves. It was a large
> undertaking internally as well. However, when individual classes,
> such as FolderItem, have methods that return things only allowed in
> GUI applications (such as OpenAsPicture) this level of granularity is
> wonderful in its flexibility.

But can be something as with EXPORT pragma in C++:

* If I declare EXPORT for class - then all its methods are exported

* if I have problematic class as you mention, I not set EXPORT for the whole
class, but set it for only methods that must be exported.

Easy? Flexible?
 
>> What is the correct step to do this?
>> Going to check again RB SDK examples and docs ...
> 
> REALmethodDefinition has a flags field, which should be set to
> REALconsoleSafe for console safe methods. If you know every method is
> console safe (be careful about Pictures), you could always make a
> loop to loop over all of the method arrays and set them.

Okay, thank you for this tip, Jonathan. :-)

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


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