On 3/22/07, Gary Edge <[EMAIL PROTECTED]> wrote: > Is anyone having success using hierpop 1.9? The HCMenu result I get > from a menu selection does not represent the menu item selected. If > fact it's always the same. I'm not familiar enough with memoryblocks > to diagnose the problem myself. Any ideas? > > Using Macbook 10.4.9 w/ RB 2007r1
I made some minor modifications to the ShowMenu method and it works fine on my Intel iMac. I'm pretty sure the only changes I made were to the following code, which is from the ShowMenu method (you can search for "prepare" to find it quickly: // Prepare to get the result SType = NewMemoryBlock(4) MnuID = NewMemoryBlock(2) Out = NewMemoryBlock(2) AEDescBlock = NewMemoryBlock(8) // add these four lines to change the Endianness of the Memoryblocks declared SType.LittleEndian = False MnuID.LittleEndian = False out.LittleEndian = False AEDescBlock.LittleEndian = False _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
