On 20/gen/09, at 17:18, Christian Schmitz wrote:
Massimo Valle <[email protected]> wrote:
I'm trying to instantiate a memoryblock and return it from a method.
Since I found the REALNewMemoryBlock function is deprecated I thought
the legal method is to call REALnewInstance("MemoryBlock") and then
load methods to fill it with data (bah).
Use REALNewMemoryBlock.
Ignore all deprecations until RS delivers a replacement.
Thanks Christian,
however would be interesting have an answer to my second question:
how I can allocate a new instance of a class which require an argument
to the constructor?
Massimo Valle
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>