Tim Jones <[EMAIL PROTECTED]> wrote: > Ah, since I'm modifying the content, I shouldn't use ByRef in the > definition. But, will I need to use ByRef in the call from RB as I do > if calling a shared library declare?
I'm not sure if you know exactly what byref means. Maybe you check some webpages about it. > and the actual module's code expects pointers to 3 arrays of 64 unsigned > shorts. When I look up the type definition for REALmemoryBlock, I can't > find a typedef, so I should assume that, in this case, a REALmemoryBlock > is just a struct? REALmemoryBlock is a pointer to a structure. The SDK has a function to ask thre memoryblock for the pointer. the pointer can be casted to a (short*) pointer. Gruß Christian -- Over 900 classes with 17000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v7.6. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
