Re: cannot clear dmRecAttrDirty bit, help please

2009-03-19 Thread Darren
if (attrdmRecAttrDirty) attr = ~dmRecAttrDirty; still no success. have tried dmNewHandle/dmAttachRecord. dmAttachRecord() sets the dirty bit. Using a resource editor it is possible to change the bit. many thanks for help regards Darren -- For information on using the ACCESS Developer

Re: cannot clear dmRecAttrDirty bit, help please

2009-03-19 Thread Regis St-Gelais
Darren adelph...@yahoo.co.uk a écrit dans le message de news: 187...@palm-dev-forum... Have a look at Err DmReleaseRecord (DmOpenRef dbP, UInt16 index, Boolean dirty) Purpose Clear the busy bit for the given record and set the dirty bit if dirty is true. -- Regis St-Gelais www.laubrass.com

wake up a device

2009-03-19 Thread Guilherme Campos Hazan
Hi, Does anyone knows if its possible to let an application wake up a device? I know that when the device is turned off, nothing is running. But i want to let an application poll the server from time to time and if there's a message, download the message and show to the user (in other words,

Re: wake up a device

2009-03-19 Thread Jeff Loucks
An alarm will wake the device. Plus, the device can be managed in a way that it will only wake half way (screen remains off), so periodic things can be done at the lowest power level. See AlmSetAlarm() and AlmSetProcAlarm(). Also, see sysNotifySleepRequestEvent, sysNotifySleepNotifyEvent,