Hi,

I have problem to lock the array of MemHandles. I am using the ApptInfoType 
*ApptList to lock the array of the MemHandles.
I want to read the data from the ApptList, but it seems that I have access 
the memory wrongly. Thank you in advance.

MemHandle apptLists[7];
ApptInfoType *apptList;

ApptGetAppointment( ..., ..., apptList[7]);

ApptGetAppointment( ..., ..., MemHandle apptLists[])
{
  :
  :
for(i = 0; i < 7; i++)
     {

        apptList = MemHandleLock(apptLists[i]);
        Print(apptList.startTime);

        MemHandleUnlock(apptLists[i]);
     }

If there is anything not clear to the problem, I could specify in more 
detail.
Low Pui Kuen







_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


-- 
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