Tim Jones <[EMAIL PROTECTED]> wrote: > Thanks Christian. Since 'r' is going to be modified by the algorithm, > shouldn't the entry be "ByRef r As MemoryBlock"?
do you modify the reference or the content? Byref is to modify the reference. e.g. to assign a new memoryblock to it in the function. > Also, am I using the > correct identifier for this type of function (accept 3 memoryblocks, > modify the contents of the 3rd) when I use "REALNoImplementation"? looks correct. > The change above works and my ModularExp() method nows autocompletes in > the IDE editor - however, the helper text does not show up in the IDE's > status bar. You will get used to it. > > I get a hard crash. your C function is not declared to take REALmemoryblocks. > Any thoughts or guidance on how to troubleshoot / debug this? Write to the debug console. You would than notice that your writes corrupt the memoryblock data structure. 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>
