Hi.

I am quite new to the Exchange Manager and learnt that
the ExgSend function can actually control the
interruption of user's cancellation.

err = ExgPut(&exgSocket);   // put data to destination
if (err==errNone)
        {
            err =
ExgDBWrite(WriteProc,&exgSocket,beamerDBName,dbID,0);
ExgDisconnect(&exgSocket,err);  
}

static Err WriteProc(const void *dataP, UInt32 *sizeP,
void *userDataP)
{
        UInt32 byteSent = ExgSend((ExgSocketPtr) userDataP,
dataP, *sizeP, &err);
        return Err;
}

        However, it does not apply to this as I have tried it
and no error return for the ExgSend.Additionally, if I
interrupt in the progress of beaming, it doesn't
actually beam over the data to the other PDA but it
still return us 'Successfull beaming'?


Pls help. Any idea is greatly appreciated.


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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

Reply via email to