Of course you're not. How would whatever's calling this callback
method know to pass in the magic parameter that gets mapped to 'self'?
That's the whole point about instance methods, and why Mars said
that you couldn't do anything useful with them -- an instance
method, in any language, involves passing along some extra
information that identifies the instance. There is no way for you
to know (because it's not documented) what form this information
takes, so there is certainly no reliable way for whatever's
invoking the callback to know that and do it properly.
Well, you can do it in C++ with C++ classes, even with inheriting and
all such (some will say you cant, but the Einhugur Framework at
http://www.einhugur.com/cpp/index.html (yes I know its a little out
of date) for C++ proves that you can easily do it, in all C++
compilers except GCC 4.0 (which has a bug that was fixed in 4.0.1 I
believe), and you can do it in Visual Basic .NET and C#. (Don't know
about Java ?)
Yes it may be difficult, but it is in no way a excuse why REALbasic
cannot do it.
--
______________________________________________________________________
Björn Eiríksson [EMAIL PROTECTED]
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 53 countries world wide.
______________________________________________________________________
For support: [EMAIL PROTECTED]
To post on the maillist: [EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>