Hi Danny,

- I am using the Palm OS 3.5 En Color Debug ROM
- I rewrote the code to make sure that ExgDisconnect  is conditional according to your 
suggestion.

As I figured and per your prediction - it didn't change the outcome.  I still get a 
blank memo.  I'd be open to suggestions and
unusually, I am NOT in a hurry for this, but it is driving me nuts.

Thanks again,
Ed.

Danny Epstein wrote:

> What are you passing in as the scheme? Are you using shortcut-dot-t? What
> ROM are you using?
>
> > err = ExgPut(&s);
> > if (err == errNone)
> >    err = BeamBytes(&s, x, MemHandleSize(theRecord));
> > MemHandleUnlock(theRecord);
> > err = ExgDisconnect(&s, err);
>
> The call to ExgDisconnect should be conditional on the first (or only in
> your case) call to ExgPut succeeding. If ExgPut returns an error, you
> shouldn't call ExgDisconnect. But if ExgSend returns an error (via
> BeamBytes), you should still call ExgDisconnect.
>
> I don't see anything else wrong, but I don't have time to check it out
> thoroughly right now. I don't think any of the problems I mentioned above
> are what's causing the memo to be empty.
> -
> Danny


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

Reply via email to