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).

But REALnewInstance doesn't accept additional arguments as parameters to pass to the constructor.
So how I can allocate a MemoryBlock specifying the size?
And in general, 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>

Reply via email to