On 8-Jul-08, at 1:54 PM, Bob Delaney wrote:
All my plugins break in the latest version of REALbasic. They don't
use the new style constructors. I'm not familiar with this. Where's
the best place to read about their use in plugins?
For example, in my Extended Plugin I use:
static REALmethodDefinition ZZMethods[] = {
// defines methods:
{ (REALproc) ZZConstructor, REALnoImplementation, "ExtInteger()" },
{ (REALproc) ZZConstructor2, REALnoImplementation, "ExtInteger
(inputString As String)" },
{ (REALproc) ZZConstructor3, REALnoImplementation, "ExtInteger(x
As Double)" },
Do I just replace "ExtInteger" by "Constructor".
Yes
Can users of my plugin still say "z = New ExtInteger" or "z = New
ExtInteger("123456789")" or "z = New ExtInteger(3.1416)"?
Yes
All my plugins are free, I write them to help others. It's going to
take quite a long time to fix them. I'm asking myself if it's worth
my time.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>