On May 16, 2006, at 2:40 PM, Dan Stenning wrote:
Since a Structure itself is "structure-safe" is there a way of
Pointing to a structure ?
Not really. You can't get the address of a variable or property, so
you'd have to allocate a MemoryBlock of appropriate size and return
it instead.
I am trying to think of returning a pointer to a
structure from a method ( since one cant return the structure
directly )
Better, I think, would be to return the value through a ByRef parameter.
Mars Saxman
REAL Software
_______________________________________________
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>