Yes, use of MemDeref is not recommended. That's why it's in a private
header file (MemoryPrv.h) and protected with the NON_PORTABLE preprocessor
symbol.

To get the pointer associated with a handle, call MemHandleLock.

-- Keith Rollin
-- Palm OS Emulator engineer






Daniel Zucker <[EMAIL PROTECTED]> on 04/27/99 01:56:11 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (Keith Rollin/HQ/3Com)
Subject:  datebook and emulator question




I am running Datebook on PalmOS 2.0 using the 21d26 emulator.
Everything seems to work OK, but the emulator complains (warning only,
not an error) when it encounters a MemDeref command.
Can someone tell me what's up with that?  Is this not a recommended
programming practice?  What is the correct way to do it?
Thanks,
Dan
PS If you're wondering why I'm running PalmOS 2.0, the answer is that I
don't own a Palm III or newer.









Reply via email to