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: Sat, 31 Mar 2007 00:43:21 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Thread-index: AcdzFG93rcBil98HEduuqAANkzDgag==
Thread-topic: [BUG?] Plugin Class Constructor not compiles in RB 2006/2007
On 30/3/07 11:01 PM, "Jonathan Johnson" <jonj at realsoftware dot com> wrote:

>> 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?
> 
> Well, they are two different languages and two separate concepts. The
> equivalent in C++ would be:
> 
> #if !CONSOLE_RUNTIME
>    class MyClass {}
> #endif
> 
> What REALbasic does with safety flags is essentially preprocesses the
> classes and methods out before sending them to the compiler.

I see,

Btw, what is correct style?

Mark class as safe BEFORE call RegisterClass() of after?
Or this does not matter in fact ?

For months we have it BEFORE.


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