I pass two MemoryHandles to a function:

MyClass.GetInfo(MemHandle number, MemHandle info);

number is the item number I was info on, the second variable is where the data
is returned. I lock number, set numberP to "2" , and then unlock number before
the function call.

in the GetInfo function, one of the first things to happen (after some static
data declarations) is locking the memhandles to get Char*.

On PalmOS 4, this works fine, in the GetInfo function when number is locked the
returned string is "2". On PalmOS 3.1H (Visor Deluxe ROM) no matter what I set
number to, in the GetInfo function after locking that memhandle, the string is
equal to "1". 

Any idea why I might see different results on different versions of the PalmOS?

Steve Cochran

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to