RE: ticks time vs. secs time

2002-05-06 Thread Hal Mueller
There's an implementation of SNTP (network time protocol) for PalmOS floating around somewhere. Maybe there's a solution in that source code? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Localization

2002-05-06 Thread Ben Combee
In article <85609@palm-dev-forum>, [EMAIL PROTECTED] says... > > We have created a Palm application using Codewarrior 8. We have two .rsrc files, >one in English and one in French. What I did > was create two targets, one release_en and the other release_fr. I added the >_fr.rsrc to the Fren

RE: Again C++ in Shared Lib using CW

2002-05-06 Thread Ben Combee
In article <85620@palm-dev-forum>, [EMAIL PROTECTED] says... > > Last month post by Ben Combee is included below: > > Still my question is how can I atleast use C++ minus item 1 & 2 with the > code generated by the CW 8 Shared Lib Wizard? Or do I need to take some > other path? You can't really

Re: 2 version strings

2002-05-06 Thread Chris Tutty
From: "Danny Epstein" <[EMAIL PROTECTED]> > > You can set the version in constuctor and in the linker settings. > > I manually change the one I set with the linker but can't figure > > out how to change the one in the constuctor. > > See this post for a description of the two different "versions"

Table checkboxes

2002-05-06 Thread Nihar Desai
Hi all, I have tables wherein there is a column of checkbox and the other columns are label items. Now I have to read the rows where the user has ticked the check boxes. what I do for scrolling like this: if I have 14 records and 7 visible rows, I fill the first 7 rows with the first 7 records,

RE: Dumping .RSRC to .R

2002-05-06 Thread Ben Combee
In article <85551@palm-dev-forum>, [EMAIL PROTECTED] says... > > From: Edward P. Ross [mailto:[EMAIL PROTECTED]] > > For the titles of my forms, half of them are in the following format, > > which is helpful: [...] the other half are in hex [...] > > It's a bug in in the SDK. In the 'tTTL' re

Re: VFS Format

2002-05-06 Thread Gordon LAM
I have tried on emulator and it seems it does not perform format. So I want to try on the real Palm. > > What's the "crash" looks like? What does a debugger tell you? It produce an error which is not listed in the error list. Then it crashes my application and return back to the main menu.

RE: ticks time vs. secs time

2002-05-06 Thread Peter Epstein
>From Danny's comments I think even this might not be safe. In other words, one clock might drift relative to the other. Perhaps the amount of drift will be small enough in practice to be of no consequence. I don't know. An approximate correlation is probably all you really need if you always have

Re: ticks time vs. secs time

2002-05-06 Thread Matt Hebley
I usually approach this sort of problem using differences rather than setting the source. Say you get a time from your GPS, then you get the current ticks that corresponds to your reference. Then subsequent calls to get the current ticks will tell you how many ticks you are from your reference. Yo

RE: ticks time vs. secs time

2002-05-06 Thread Peter Epstein
I don't think you'd want the tick clock to be reset when you set the time of day clock. Applications can rely on the fact that the tick clock only ever increases (although it will eventually wrap around). I don't even think you'd want to tweak the duration of one of the ticks in order to align the

RE: ticks time vs. secs time

2002-05-06 Thread Danny Epstein
See Jim Schram's post: http://www.escribe.com/computing/pcpqa/m42099.html and this thread: http://www.escribe.com/computing/pcpqa/m46010.html -- Danny @ PalmSource -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums

RE: ticks time vs. secs time

2002-05-06 Thread alanp
See what Howard wrote for an answer to my question. I need WWV accurate timing to some fraction of a second. I figure that I can get current time by querying an external device, such as a GPS (see my other post on this topic), converting that time to seconds since 1/1/1904 12am, then calling Ti

RE: ticks time vs. secs time

2002-05-06 Thread Peter Epstein
I think you're asking whether the tick clock stays in sync with the time of day clock while the device is "on". In other words, if you poll the time of day clock until it rolls over to the next second and then sample the tick clock, can you simply add SysTicksPerSecond() to the tick clock to dete

RE: ticks time vs. secs time

2002-05-06 Thread Howard Tomlinson
My understanding is that both ticks and seconds are derived from a hardware clock oscillator. There should be no 'drift' between ticks and seconds on the device itself. (Of course, drift between the hardware on the palm and your mantlepiece atomic clock will always happen) Ticks just seem to b

RE: ticks time vs. secs time

2002-05-06 Thread alanp
Well, uh, yeah ... I appreciate you taking the time to look at my questions, but it doesn't really say anything about what I am asking. Wall time (or locally observed time, either of which is a better choice of words than "real-time" in this case) could simply be a particular number of ticks ro

Re: Searching with eScribe

2002-05-06 Thread Brian Smith
On Mon, 6 May 2002, Danny Epstein wrote: > The moral of the story: When searching the archives using eScribe, only > use 4-letter or longer words. Yeah... was about to use some 4-letter words myself :-) --- Brian Smith // aval

Searching with eScribe (was RE: Fatal exception when running from Springboard module)

2002-05-06 Thread Danny Epstein
> I'm kind of surprised I didn't find that before... I searched > for "not a handle" on eScribe last night and didn't see this. When I tried search for "not a handle", with or without the quotes, I got this message: > No matches were found for "not a handle"! > (This means that either these word(

Re: 2 version strings

2002-05-06 Thread Joe
--- Ralph Krausse <[EMAIL PROTECTED]> wrote: > You can set the version in constuctor and in the linker settings. I > manually change the one I set with the linker but can't figure out > how to change the one in the constuctor. > > thanks > Ralph Is that a question, Ralph? (I don't see a "?" a

RE: 2 version strings

2002-05-06 Thread Danny Epstein
> You can set the version in constuctor and in the linker settings. > I manually change the one I set with the linker but can't figure > out how to change the one in the constuctor. See this post for a description of the two different "versions" a Palm OS application has: http://www.escribe.co

Re: Add new event --- how to catch this ?

2002-05-06 Thread Joe
--- [EMAIL PROTECTED] wrote: > > has anybody add a new event to the event queue using the > following methods ? > > MemSet (&newEvent, sizeof(EventType), 0); > newEvent.eType = firstUserEvent; > ... > EvtAddEventToQueue (&newEvent); Yes. > > how do u catch this in Palm Os ver 4 ? > althou

Re: Web Clipping Libs

2002-05-06 Thread brian
Yep - they're in the Mobile Internet Kit. On Mon, 6 May 2002 16:20:01 -0300, Palm Developer Forum <[EMAIL PROTECTED]> said: >I'mn trying to execute Vagabond app, but it's bringing to me the message >"Web Clipping Libraries not found...". Does anybody know where I can find >it? > >Fabrício de Pa

Memory leak with TblSetLoadDataProcedure.. Any help?

2002-05-06 Thread dyk4
In case this message is already posted, I'm sorry but I just got the message from the postmaster of palmos.com that there was a delivery error... Dyk Hi! I have a memory leak in my application and don't know how to fix it. I'm filling a table with the TblSetLoadDataProcedure and I think that tha

RE: ticks time vs. secs time

2002-05-06 Thread Peter Epstein
The tick clock stops while the device is "off", whereas the real-time clock obviously keeps going. -- Peter Epstein -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Web Clipping Libs

2002-05-06 Thread fabricio
I'mn trying to execute Vagabond app, but it's bringing to me the message "Web Clipping Libraries not found...". Does anybody know where I can find it? Fabrício de Paula -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/foru

hack link error

2002-05-06 Thread elena
>Hello, > >I have problem with writing a Hack: >I am working with CodeWarrior 6.0 > My Target Settings : > - Name : Hack.prc > - Linker : MacOS 68K Linker > - Pre-linker : none > - Post-linker : P

RE: Fatal exception when running from Springboard module

2002-05-06 Thread Brian Smith
On Mon, 6 May 2002, Brian Smith wrote: > Thanks! I'll give that a try tonight and see how it flies. If I decide > to go with Aaron's fix, I would just call his function at the end of my > PilotMain? Disregard that one... found the answer to that question.

2 version strings

2002-05-06 Thread Ralph Krausse
You can set the version in constuctor and in the linker settings. I manually change the one I set with the linker but can't figure out how to change the one in the constuctor. thanks Ralph -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.

RE: Add new event --- how to catch this ?

2002-05-06 Thread Schettino, John
Try adding a call to EvtWakeup(); After you add the event. You should get a nilEvent, then your event. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 1:54 AM To: Palm Developer Forum Subject: Add new event --- how to catch this ? hi al

Re: VFS Format

2002-05-06 Thread David Fedor
>I have tried to format the memory card using VFS manager. >I load the expansion manager and vfs manager before formatting. >But it crashes in calling API VFSVolumeFormat. What's wrong? What's the "crash" looks like? What does a debugger tell you? You're not trying this on POSE, are you? HostF

RE: Fatal exception when running from Springboard module

2002-05-06 Thread Brian Smith
On Mon, 6 May 2002, IKEDA Shigeru wrote: > Your app is a multi segmented one and built with prc-tools? Yes, on both counts. > If so, the following thread should be useful. > > http://www.escribe.com/computing/pcpqa/m52081.html > http://www.escribe.com/computing/pcpqa/m52084.html > http://www.

Table element selection

2002-05-06 Thread alanp
In one of my applications, I have a table where all of the elements are displayed through a custom draw routine. (Just wanted to point that out in case it mattered.) How do I set up the table so that the elements are not highlighted when tapped on? This is causing some confusion on the part of

ticks time vs. secs time

2002-05-06 Thread alanp
Is the tick time returned by PalmOS somehow coupled with the seconds time returned by PalmOS (like the seconds value is incremented every time the ticks value gets so high vs. getting the seconds value from an independent real-time clock)? Can the ticks value returned drift from the seconds valu

Re: PalmSim dr10 not supported on NT4?

2002-05-06 Thread David Fedor
>> That's correct; build 10 had a bug which prevented it from working on the >> older Windows systems (95 and NT4). > >Same bug in dr11! Seems they... ah... mislead us when they told us that fix was integrated into the dr11 build. They claim the next one will have it. -David Fedor PalmSource, I

RE: Quick off & on

2002-05-06 Thread Dave Slotter
Here's a shot in the dark... Are you able to call this driver's sleep and wake handler routines? If it's implemented as a shared library, I would bet you can. Hope this helps. -Dave -Original Message- From: Bob Whiteman [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 12:48 PM

Most cost effective way to get accurate time on a Palm device

2002-05-06 Thread alanp
What is the most cost effective way to get accurate (WWV accurate) time on a Palm device? I am thinking GPS and just reading the timestamp and ignoring the position. However, that seems a waste. Are there any inexpensive radio clock devices for the Palm? alan -- For information on using t

Add new event --- how to catch this ?

2002-05-06 Thread dilanr
hi all, has anybody add a new event to the event queue using the following methods ? MemSet (&newEvent, sizeof(EventType), 0); newEvent.eType = firstUserEvent; . . . EvtAddEventToQueue (&newEvent); how do u catch this in Palm Os ver 4 ? although the event is added to the queue, it is not p

TableLoadDataFuncType Memory Proble

2002-05-06 Thread Amit Kalekar
Hello I have implemented the TableLoadDataFuncType function to draw the textItem of the table. I am drawing the text elsement from the gloabl array g_pAcceptDataSet. It is working fine, but it gives me the memory leak error for the g_pszField. So actually this memory should be free by the TableMa

RE: Fatal exception when running from Springboard module

2002-05-06 Thread IKEDA Shigeru
Brian Smith [mailto:[EMAIL PROTECTED]] | | I did some checking on that problem that a customer of mine was having | with their Minstrel S modem I mentioned the other day (fatal exception on | exit). I tried the same thing with my Xircom 802.11b card (same flash | module setup) and I get this whe