Database corruption

2008-11-17 Thread Lionscribe
I have a program that uses a single record database for its data. On the start 
of the applicationam the db is opened, and the record is gotten & Locked. Upon 
exit all is unlocked, released & closed.
problem is that some user, after many months the program starts showing garbage 
data, as if the data is corrupted.
Resetting the Palm usually does not help, but if the user just reinstalls the 
same database, or copies it to the card & then back to devoce, everything is 
fine.
In addition, when there is an Alarm, & we open database read-only, Query 
Record, Lock, Read , Unlock, Close, evrything reads fine.
Is there anyone who can figure thus out?
Lionscribe

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


Re: better timing than TimGetTick?

2008-11-17 Thread Dmitry Grinberg
on 68k devices tick is 100Hz, on emulator it is 100Hz, on mac
simulator it is 60Hz, and in native arm mode it is 1000Hz

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Nov 17, 2008 at 9:38 AM, Harald Schlangmann
<[EMAIL PROTECTED]> wrote:
> Darren,
>
>
>
> don't know if I get your question right…
>
>
>
> The time the event loop takes for one loop differs by the work that is done…
> A nilEvent will typically take less time (less than a tick) than e. g. a
> redrawing (probably several ticks).
>
> As I wrote below, a tick in PalmOS is 1/100s, i. e. increments 100 times a
> second, i. e. 100 Hz.
>
>
>
> Grüße, Harald
>
> -
> [EMAIL PROTECTED]
> http://www.gps-laptimer.de
>
>
>
> Von: Darren Barnes [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 17. November 2008 10:42
> An: Palm Developer Forum
> Betreff: Re: better timing than TimGetTick?
>
>
>
> Query :
>
> is the event loop processing being timed at tick intervals, (1 loop pass per
> tick), or
>
> at clock speed of the specific processor?
>
>
>
> regards
>
> Darren
>
> --- On Sat, 15/11/08, Dmitry Grinberg <[EMAIL PROTECTED]> wrote:
>
> From: Dmitry Grinberg <[EMAIL PROTECTED]>
> Subject: Re: better timing than TimGetTick?
> To: "Palm Developer Forum" 
> Date: Saturday, 15 November, 2008, 8:08 PM
>
> High-resolution Timers are avilable on all PXA devices.
>
> See Palm SDK folder "hirestimerlib"
>
>
>
> On 11/15/08, Harald Schlangmann <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>
>>
>
>>  one tick is 1/100s. There is no better precision available in PalmOS.
>
>>
>
>>  Grüße, Harald
>
>>
>
>>  -
>
>>  [EMAIL PROTECTED]
>
>>  http://www.gps-laptimer.de
>
>>
>
>>  -Ursprüngliche Nachricht-
>
>>  Von: Hynek Sladky [mailto:[EMAIL PROTECTED]
>
>>  Gesendet: Samstag, 15. November 2008 17:47
>
>>  An: Palm Developer Forum
>
>>  Betreff: better timing than TimGetTick?
>
>>
>
>>
>
>>  Hi,
>
>>  I am porting one simulator app to PalmOS and I need to do real speed
>
>>  simulation. But I am not able to do it with TimGetTick because it
>
>>  usually takes less than one tick between two simulation steps. So I need
>
>>  to know more accurate time (eg. microseconds). Final device will always
>
>>  be OS5 (because of ARM native code of simulation core).
>
>>
>
>>  Is there any way how to get such information?
>
>>
>
>>  Thanks,
>
>>  Hynek Sladky
>
>>
>
>>  --
>
>>  For information on using the ACCESS Developer Forums, or to unsubscribe,
>
>>  please see http://www.access-company.com/developers/forums/
>
>>
>
>>
>
>>
>
>>  --
>
>>  For information on using the ACCESS Developer Forums, or to unsubscribe,
>
> please see http://www.access-company.com/developers/forums/
>
>>
>
>
>
>
>
> --
>
> 
>
> Best Regards,
>
> Dmitry Grinberg
>
> (847) 226 9295
>
>
>
> --
>
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please
>
> see http://www.access-company.com/developers/forums/
>
>
>
> --
>
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/

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


AW: better timing than TimGetTick?

2008-11-17 Thread Harald Schlangmann
Darren,

 

don't know if I get your question right…

 

The time the event loop takes for one loop differs by the work that is done… A 
nilEvent will typically take less time (less than a tick) than e. g. a 
redrawing (probably several ticks).

As I wrote below, a tick in PalmOS is 1/100s, i. e. increments 100 times a 
second, i. e. 100 Hz.

 

Grüße, Harald

-
[EMAIL PROTECTED]
  http://www.gps-laptimer.de

 

Von: Darren Barnes [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 17. November 2008 10:42
An: Palm Developer Forum
Betreff: Re: better timing than TimGetTick?

 


Query :

is the event loop processing being timed at tick intervals, (1 loop pass per 
tick), or

at clock speed of the specific processor?

 

regards

Darren

--- On Sat, 15/11/08, Dmitry Grinberg <[EMAIL PROTECTED]> wrote:

From: Dmitry Grinberg <[EMAIL PROTECTED]>
Subject: Re: better timing than TimGetTick?
To: "Palm Developer Forum" 
Date: Saturday, 15 November, 2008, 8:08 PM

High-resolution Timers are avilable on all PXA devices.
See Palm SDK folder "hirestimerlib"
 
On 11/15/08, Harald Schlangmann <[EMAIL PROTECTED]> wrote:
> Hi,
> 
>  one tick is 1/100s. There is no better precision available in PalmOS.
> 
>  Grüße, Harald
> 
>  -
>  [EMAIL PROTECTED]
>  http://www.gps-laptimer.de
> 
>  -Ursprüngliche Nachricht-
>  Von: Hynek Sladky [mailto:[EMAIL PROTECTED]
>  Gesendet: Samstag, 15. November 2008 17:47
>  An: Palm Developer Forum
>  Betreff: better timing than TimGetTick?
> 
> 
>  Hi,
>  I am porting one simulator app to PalmOS and I need to do real speed
>  simulation. But I am not able to do it with TimGetTick because it
>  usually takes less than one tick between two simulation steps. So I need
>  to know more accurate time (eg. microseconds). Final device will always
>  be OS5 (because of ARM native code of simulation core).
> 
>  Is there any way how to get such information?
> 
>  Thanks,
>  Hynek Sladky
> 
>  --
>  For information on using the ACCESS Developer Forums, or to unsubscribe,
>  please see http://www.access-company.com/developers/forums/
> 
> 
> 
>  --
>  For information on using the ACCESS Developer Forums, or to unsubscribe,
please see http://www.access-company.com/developers/forums/
> 
 
 
-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295
 
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/

 

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

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

Re: My app can´t open my Shared Library

2008-11-17 Thread Tiago
I saw these Shared Library: http://www.bin-people.de/pnoJpegLib/index.html for 
compare whith my Shared Library. The core of pnoJpegLib is similar to my SL. I 
tryed to use the functions bellow for open the pnoJpegLib shared library:
SysLibLoad(...);
MySharedLibraryOpen(...); 
First I installed the pnoJpegLib in my treo 650 and both functions return 
sysErrLibNotFound and the function witch open the Shared Library 
(pnoJpeg_OpenLibrary()) return 0, meaning witch the SL is opened.
After this, I removed the pnoJpegLib my treo, and happen the same of the first.
I´m making the correct procedures for use the SL?
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: better timing than TimGetTick?

2008-11-17 Thread Darren Barnes
Query :
is the event loop processing being timed at tick intervals, (1 loop pass per 
tick), or
at clock speed of the specific processor?
 
regards
Darren

--- On Sat, 15/11/08, Dmitry Grinberg <[EMAIL PROTECTED]> wrote:

From: Dmitry Grinberg <[EMAIL PROTECTED]>
Subject: Re: better timing than TimGetTick?
To: "Palm Developer Forum" 
Date: Saturday, 15 November, 2008, 8:08 PM

High-resolution Timers are avilable on all PXA devices.
See Palm SDK folder "hirestimerlib"

On 11/15/08, Harald Schlangmann <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  one tick is 1/100s. There is no better precision available in PalmOS.
>
>  Grüße, Harald
>
>  -
>  [EMAIL PROTECTED]
>  http://www.gps-laptimer.de
>
>  -Ursprüngliche Nachricht-
>  Von: Hynek Sladky [mailto:[EMAIL PROTECTED]
>  Gesendet: Samstag, 15. November 2008 17:47
>  An: Palm Developer Forum
>  Betreff: better timing than TimGetTick?
>
>
>  Hi,
>  I am porting one simulator app to PalmOS and I need to do real speed
>  simulation. But I am not able to do it with TimGetTick because it
>  usually takes less than one tick between two simulation steps. So I need
>  to know more accurate time (eg. microseconds). Final device will always
>  be OS5 (because of ARM native code of simulation core).
>
>  Is there any way how to get such information?
>
>  Thanks,
>  Hynek Sladky
>
>  --
>  For information on using the ACCESS Developer Forums, or to unsubscribe,
>  please see http://www.access-company.com/developers/forums/
>
>
>
>  --
>  For information on using the ACCESS Developer Forums, or to unsubscribe,
please see http://www.access-company.com/developers/forums/
>


-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295

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



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