On Aug 31, 2004, at 9:42 AM, Thomas Reed wrote:
I have a number of callback routines that are defined to return
MemoryBlocks, and they work just fine.
I'm surprised by that. The calling function will simply have the
object's address returned, not the address of the memoryblock's data.
I'd be extremely surprised if you couldn't use MemoryBlock as a
parameter type in a callback as well.
It doesn't work. REALbasic doesn't put any glue-code in-between your
method and the outside world. There is no way for REALbasic to know
whether or not you wish for a parameter to be transformed, or whether
something may already be a particular type. It is left in the hands of
the implementer.
HTH,
Jon
--
Jonathan Johnson
Testing Department
REAL Software, Inc.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|