On Mar 30, 2007, at 4:54 PM, Ruslan Zasukhin 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.
> Okay, thank you for this tip, Jonathan. :-)
No problem. Also as a heads up, properties need this flag set as
well. The REALconsoleSafe flag can be Or'ed into the existing flags
field on the property.
HTH,
Jon
--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.
REAL World 2007 Conference
May 9 - 11 in Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>