hi
 
i'm trying to get the callback function to work and it is not.
i have the following code. the video plays but the callback never gets called.
 
am i doing this correct?
 
 
 
Boolean mydrawCallback(void *userData){ return true;}
 
void myfunc(void)
{
 
   PalmPhotoDisplayParam displayParam;   RectangleType   displayRect;   
   displayRect.topLeft.x = 0;   displayRect.topLeft.y = 0;
   displayRect.extent.x = 320;   displayRect.extent.y = 240;
 
   displayParam.winH = WinGetDrawWindow();   displayParam.rect = displayRect;   
displayParam.displayCallback = mydrawCallback;   displayParam.userDataP = 
&displayParam;
    // call to play the video
    PalmPhotoDisplayImage(libRef, handle, &displayParam);
 
}
 
_________________________________________________________________


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to