RE: zlib in CodeWorrier

2002-03-11 Thread Dilan ®
hi thanks for the reply. I'm new to using shared libraries in palm. I have learnt that when using shared libraries, I have to load it first and then when calling the functions, have to pass the reference to the loaded library as the first parameter. But when I go through ZLib examples such as

Hotsync with POSE

2002-03-11 Thread Raghvendra Singh
Hi, Can anyone tell me how to hotsync with Palm OS Emulator (POSE) without using a Null Modem cable?? Raghvendra. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Displaying Date and Time

2002-03-11 Thread Christophe HOCMAN
Hello, Does anyone can explain me how can I insert a clock on a form in order for my users to see time ? I've got to display date and real time (DD/MM/ HH:MM) in a field and I don't know how retreave it and display it What's the event to catch to re-draw the time I show on each min ? Thank

Re: How to get PalmOS debug info under gdb?

2002-03-11 Thread Mike McCollister
John, I know that I ask this a lot, but when do you think you will have a final version of PRC-Tools 2.1? Thanks, Mike McCollister --- John Marshall <[EMAIL PROTECTED]> wrote: > On Sun, Mar 10, 2002 at 01:17:22PM -0800, Brian Ku > wrote: > > How can I get dbg source info under gdb for > PalmOS

Re: How to get PalmOS debug info under gdb?

2002-03-11 Thread John Marshall
On Mon, Mar 11, 2002 at 02:56:12AM -0800, Mike McCollister wrote: > I know that I ask this a lot, but when do you think > you will have a final version of PRC-Tools 2.1? Every time anyone asks me this, I down tools for a month. :-) However you can avoid this fate this time if you agree to read

Re: Hotsync with POSE

2002-03-11 Thread Brian Smith
On 11 Mar 2002, Raghvendra Singh wrote: > Can anyone tell me how to hotsync with Palm OS Emulator (POSE) without > using a Null Modem cable?? 1) Make sure "redirect netlib calls to host TCP/IP" is turned on in POSE 2) Do a network Hotsync -

RE: zlib in CodeWorrier

2002-03-11 Thread Bill MacAdam
There is a macro called ZLSetup that needs to be called first and a macro called ZLTeardown which is called when you are finished using ZLib. Both of these are defined in SysZLib.h. -Original Message- From: Dilan ® [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 2:39 AM To: Palm

Re: Displaying Date and Time

2002-03-11 Thread Matt Disher (TiBook)
Look in the docs, specifically the Palm OS Reference. (if you found this list you can find that). Then take a gander at the Time Manager section it starts on page 913 everythign you want is in there. -- Matt Disher [EMAIL PROTECTED] > From: "Christophe HOCMAN" <[EMAIL PROTECTED]> > Reply-To:

link errors in mapping berkeley to native api

2002-03-11 Thread pmnh
Hi, Our code uses Berkeley sockets to retreive a string from a server like www.yahoo.com We've included some standard C Header files like stdio.h, stdlib.h, sys_types.h, sys_socket.h etc After compiling, we get Link errors eg : printf, exit, perror, errno referenced from mainprogram is undefine

RE: Sony Memory Stick Audio (revisted)

2002-03-11 Thread Borislav Kolev
Haemish, many thanks for sharing all this with us! - bobby -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

No way: hard reset!

2002-03-11 Thread Kurt
I have a problem with some installations with HandSpring on a Visor PRO (16 MEG) + CSM150 (Barcode Symbol SpringBoard Module) + VisorPhone (other SpringBoard). I don't know if there is a problem for the module handspring, maybe could be for the large database I use. The problem: some times, use

Re: Displaying Date and Time

2002-03-11 Thread Christophe HOCMAN
Ok thanks. That's interesting about formating and geting it but how implement the time update each minute ? I guess it takes place in the main event loop but what's to catch ? Regards Christophe "Matt Disher (TiBook)" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > Look

Re: Displaying Date and Time

2002-03-11 Thread Matt Disher (TiBook)
For updating change your main EvtGetEvent(&event, evtWaitForever); In the (MAIN) event loop (AppEventLoop(void) in CW created projects maybe something else some where else) i.e. change the evtWaitForever to a number, this number is any number you can live with that will give you enough events

Re: Displaying Date and Time

2002-03-11 Thread Joe
--- Christophe HOCMAN <[EMAIL PROTECTED]> wrote: > That's interesting about formating and geting it but how > implement the time update each minute ? > I guess it takes place in the main event loop but what's > to catch ? Look at the source code for the built-in games (reptoids, subhunt) to see

Re: Displaying Date and Time

2002-03-11 Thread Dave Lippincott
nilEvent http://oasis.palm.com/dev/kb/manuals/1729.cfm - Original Message - From: "Christophe HOCMAN" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 10:41 AM Subject: Re: Displaying Date and Time > Ok thanks. >

ANN: PilRC CodeWarrior Plugin 2.9p3

2002-03-11 Thread Neil Rhodes
This is an announcement of a new version of the PilRC plugin to CodeWarrior (for both Mac and Windows). Download from Version 2.9p3 Updated to Aaron's 2.9p3 sources. Fixed a bug that was added in 2.8p8 that disabled the functionality of the comman

Signature Capture

2002-03-11 Thread Sailesh Chaudhary
Hi Is there any function for PalmOS 3.0/3.1 like WinGetBitmap(WinDowHandle) to get the bitmap.I have written for PalmOS 4.0 but when i execute it on PalmOS3.0/3.1 it says there is no function WinGetBitmap(). Any suggestion for making same application compatible to all palmOS versions for signatur

RE: No way: hard reset!

2002-03-11 Thread Russell K Bulmer
>I don't know if there is a problem for the module handspring, maybe could be >for the large database I use. > >The problem: some times, users must do a reset, due to some insertion of >springboard module (it's a known HandSpring problem and it's not a large >problem, because users are out of all

Re: Hotsync with POSE

2002-03-11 Thread Oliver Steinmeier
> Can anyone tell me how to hotsync with > Palm OS Emulator (POSE) without using > a Null Modem cable?? Yes. It's quite nicely documented in the POSE documentation (as well as in the CDK documentation). Look for the section titled “Emulating Network Hotsync with Palm OS Emulator on Windows”

Re: Signature Capture

2002-03-11 Thread Dave Lippincott
http://oasis.palm.com/dev/kb/samples/1159.cfm You'll need to detect the OS version and use the appropriate functions. - Original Message - From: "Sailesh Chaudhary" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 11:26 AM Subject: Signature

Detect install/uninstall of app?

2002-03-11 Thread Mark A. Peters
Is there a way to discover that an application (with any creator ID) has been installed or uninstalled that doesn't require comparing the currently installed apps against a previously captured list of apps? I see that there is a 4.0 Notification Manager feature to register for notification that a

GDB commands

2002-03-11 Thread Low Pui Kuen
Hi, Where do I get all GDB commands? Thanks in advance Low Pui Kuen _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- For information on using the Palm Developer Forums, or to unsubscribe, pl

RE: application crashing on 1st run after sync...

2002-03-11 Thread Robert McKenzie
>From the evidence you give, I would suspect that you are doing something wrong in your handling of both the reset and sync notification launch codes. Perhaps opening a database exclusively and not closing it again? A good practical way to test this hypothesis is to create a custom build of your

Need Your Help

2002-03-11 Thread shailesh k phalle
Hello !! Can Any one tell me How display data into Gadget e.g if i want display Name & Phone On gadget How it is possible plz send me some sample code. One More Question Whether it is possible to display two member of structure on one field (Like Below) if I have structure of

Re: connecting wirelessly

2002-03-11 Thread Jim Cooper
> Also tell me some other ways by which I can connect > with my web server wirelessy. NetLib works with any TCP/IP connection. You can also use the ASTA libraries, which hide a lot of the detail from you (http://www.astawireless.com). They work both over a modem connection and using the Xircom w

Re: GDB commands

2002-03-11 Thread overcode+palm
On Tue, Mar 12, 2002 at 01:56:45AM +0800, Low Pui Kuen wrote: > Hi, > Where do I get all GDB commands? Thanks in advance Type 'help'. GDB has an excellent online command directory. -John -- John R. Hall - KG4RUO - Stranded in the Sol System Student, Georgia Tech; Author, Programming Linux

Re: Need Your Help

2002-03-11 Thread Joe
--- shailesh k phalle <[EMAIL PROTECTED]> wrote: > > Can Any one tell me How display data into Gadget > Are you using a plain gadget or an extended gadget? For sample code, see the "recipes" at http://www.palmos.com/dev/support/docs/recipes/ (There is one recipe for each type of gadget.)

Problem - SelectDay()

2002-03-11 Thread Edward P. Ross
Running the code below (Date Picker), I get the error: application called SysFatalAlert with the message: "Form.c. Line 1728, Object not in form". on the if(Select... line. I found this example on Palm's website, - have I missed something? Thanks, Ed. DateTimeType thisDay; switch (command)

Re: Problem - SelectDay()

2002-03-11 Thread John Leung
Did you initialize thisDay.month, etc... to a valid date first? If not, you'll get an error. On 11 Mar 2002 at 10:22, Edward P. Ross wrote: > Running the code below (Date Picker), I get the error: > > application called SysFatalAlert with the message: "Form.c. Line 1728, > Object not in form

Re: ANN: PilRC CodeWarrior Plugin 2.9p3

2002-03-11 Thread Joe
--- Neil Rhodes <[EMAIL PROTECTED]> wrote: > This is an announcement of a new version of the PilRC > plugin to CodeWarrior (for both Mac and Windows). Thanks. > ... > Fixed a bug that was added in 2.8p8 that disabled the > functionality of the command-line processing (called > strncmp with s

RE: Displaying Date and Time

2002-03-11 Thread Danny Epstein
> Does anyone can explain me how can I insert a clock on a form in order for > my users to see time ? Look at the agenda view (the one that shows events and tasks on the same form) in Date Book. It shows the time in the form title. The source for this app is in the SDK. -- Danny @ PalmSource --

Get Current Date - HOWTO

2002-03-11 Thread Edward P. Ross
Sent the email out too fast! My question should be - how does one get the current date on the Palm Device? Thanks, Ed. John Leung wrote: > Did you initialize thisDay.month, etc... to a valid date first? If not, > you'll get an error. -- For information on using the Palm Developer Forums,

Thousands separator

2002-03-11 Thread Bob Whiteman
I have to display some large numbers with thousands separators. To my surprise I couldn't find a Palm OS API to do this. StrItoA() returns a number with no separators. StrPrintF() doesn't appear to support an option to insert thousands separators. StrLocalizeNumber() only changes the localization

RE: How to get microseconds?

2002-03-11 Thread Danny Epstein
If you really need microsecond timing, see Ken Krugler's article in the Knowledge Base: http://oasis.palm.com/dev/kb/papers/1969.cfm But be sure to heed the warnings in the article. You can be sure this won't work on ARM devices! -- Danny @ PalmSource -- For information on using the Palm Devel

Re: Thousands separator

2002-03-11 Thread Steve Mann
>I know I can roll my own, but I'm surprised this isn't built in somewhere. >Did I miss something? Nope. Sounds like you did you homework. There has been source code posted on this forum in the past for formatting floating point numbers with separators. you could probably easily adapt that. If

Re: Get Current Date - HOWTO

2002-03-11 Thread Matt Disher (TiBook)
Look in the docs, specifically the Palm OS Reference. (if you found this list you can find that). Then take a gander at the Time Manager section it starts on page 913 everythign you want is in there. DeJavu :D -- Matt Disher [EMAIL PROTECTED] > From: "Edward P. Ross" <[EMAIL PROTECTED]> > Or

Re: Get Current Date - HOWTO

2002-03-11 Thread Dave Lippincott
Read over the Time Manager function. TimGetSeconds in particular. - Original Message - From: "Edward P. Ross" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 2:53 PM Subject: Get Current Date - HOWTO > Sent the email out too fast! My que

Re: Thousands separator

2002-03-11 Thread Bob Whiteman
"Steve Mann" <[EMAIL PROTECTED]> wrote in message news:79491@palm-dev-forum... > Nope. Sounds like you did you homework. There has been source code > posted on this forum in the past for formatting floating point > numbers with separators. you could probably easily adapt that. If you > can't find

RE: How to get PalmOS debug info under gdb?

2002-03-11 Thread Brian Ku
Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of John Marshall Sent: Sunday, March 10, 2002 11:20 PM To: Palm Developer Forum Subject: Re: How to get PalmOS debug info under gdb? On Sun, Mar 10, 2002 at 01:17:22PM -0800, Brian Ku wrote: > How ca

SOLVED - Re: Get Current Date - HOWTO

2002-03-11 Thread Edward P. Ross
Thanks guys, TimSecondsToDateTime(TimGetSeconds(), &thisDay); Ed. "Matt Disher (TiBook)" wrote: > Look in the docs, specifically the Palm OS Reference. (if you found this > list you can find that). > > Then take a gander at the Time Manager section it starts on page 913 > everythign you want

Re: How to get microseconds?

2002-03-11 Thread Ron Nicholson
Although titled his message about microseconds, his real question seems to be whether the tick count is always exactly synchronized to the DateTime counters. I'm not sure, but the DateTime counters may run off of a 32xxx kHz crystal, while the tickcount counters run off of a PLL which is running

Re: No more access to ControlType.attr (woohooo..)

2002-03-11 Thread Chris DiPierro
Gah! That'd almost certainly break on OS/5 on an ARM device. "Werner Poschenrieder" <[EMAIL PROTECTED]> wrote in message news:79289@palm-dev-forum... > > Woohoo.. but ..sniff.. couldn't one actually hack that by writing an asm { } and > copy > to the atts member with a 68x command (within a separ

RE: Thousands separator

2002-03-11 Thread Peter Epstein
Don't forget to get the user preference for the decimal and thousand separator characters rather than hard coding the characters used where you live. Note that the characters used for thousand separator can also be a space or appostrophe (or a comma or period). PalmOS 4.0 added these two extra cha

Generic Data Structures

2002-03-11 Thread Harry Yeh
Is it possible to create a generic data structure so that when you add more columns to a record, you don't have to keep rewriting all the functions associated with the struct? Here is my example: struct { Int16 ID; *Char Name; }Product if I needed to add 1 more type or more, I always ha

MenuHideItem

2002-03-11 Thread Richard Bell
I'm tryint to use MenuHideItem so that I can use the same menu resource for a sequence of forms. Everything seems to work fine until I added an Add option to the menu. The Add option is the last option on the menu. On the first form I hide items 2,3,4 from the menu leaving the first item and the

Record list and database header

2002-03-11 Thread Carl Smith
Just wondering if someone could clear this up for me. I want to check the size of my database, to limit it to a certain size, so when I call DmDatabaseSize and get back the 'totalBytesP,' field I want to compare this against my defined MaxSize. So I take the size of the new record, I'm about to a

Re: Record list and database header

2002-03-11 Thread Keith Rollin
Carl, I'm not sure how useful it is to be that picky. But if you want to be *real* picky, have you found all such areas? :-) For instance, do you take into account the 6 or 8 byte chunk headers imposed by the Memory Manager? Do you take into account the 4 byte entry in the master pointer

FATAL EXCEPTION after syncing

2002-03-11 Thread Dave Brown
Hi- Any idea why my app builds fine but when I sync it I get a FATAL EXCEPTION in the Palm device? I know it's very close to being too big for the two segment I have. Dave -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/f

ANN: Welcome to the Social Revolution

2002-03-11 Thread Clayton Powell
The social revolution is about to hit your Palm. If you would like to be part of a beta test for a new product for Palm powered handhelds then please read on. The program stimulates social interaction between two PalmOS handheld owners via beaming. You must have a PalmOS device with PalmOS v

RE: Generic Data Structures

2002-03-11 Thread Schettino, John
You could store the record as XML, then you could have records with different attributes as desired. If XML is too much overhead, then just store them as packed strings with a one byte attribute at the head of each string and #define the attribute/byte values Something like this: record 1 : "\1v

Fw: FATAL EXCEPTION after syncing

2002-03-11 Thread Richard Bell
I'd bet you are trying to access global data in your app sync event (or the app event handler). - Original Message - From: "Dave Brown" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 5:43 PM Subject: FATAL EXCEPTION after syncing > Hi- >

Re: FATAL EXCEPTION after syncing

2002-03-11 Thread Dave Carrigan
"Dave Brown" <[EMAIL PROTECTED]> writes: > Any idea why my app builds fine but when I sync it I get a FATAL EXCEPTION > in the Palm device? I know it's very close to being too big for the two > segment I have. Doesn't anybody read the list archives? This is the third time in a week that this que

RE: FATAL EXCEPTION after syncing

2002-03-11 Thread Dave Brown
That was helpful! I didn't check yet, I am trying to this out for a demo. I did a google newsgroup search first though.- Dave > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Dave > Carrigan > Sent: Monday, March 11, 2002 4:59 PM > To: Palm Develop

RE: FATAL EXCEPTION after syncing

2002-03-11 Thread Dave Brown
Richard, No the app sync'd fine this morning! I've even taken the new code out. sigh Dave > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Richard > Bell > Sent: Monday, March 11, 2002 4:57 PM > To: Palm Developer Forum > Subject: Fw: FATAL

RE: FATAL EXCEPTION after syncing

2002-03-11 Thread Peter Epstein
Temporarily hack your code so that it does absolutely nothing on the sync notify or reset launch codes. That includes commenting out code that runs on all launch codes! Be thorough. Then see if it still crashes when installed via HotSync. If not, you can easily isolate the cause of the problem. It

HwrIRQ4Handler / patch / hack

2002-03-11 Thread palmos
hi has anyone ever tried to patch / hack the function HwrIRQ4Handler? what are the parameters? i think about using this as a background style tsr control. (i know about evtgetevent and timgetticks but apps in work may generate one only one time per sec) thanks, felix -- For information on usi

RE: Record list and database header

2002-03-11 Thread Danny Epstein
> I want to check the size of my database, to limit it to a certain size, so > when I call DmDatabaseSize and get back the 'totalBytesP,' field I want to > compare this against my defined MaxSize. The value passed back by DmDatabaseSize in *totalBytesP is an approximation of the number of bytes u

RE: Use of Categories in database records

2002-03-11 Thread Danny Epstein
> It is ok to use the category field to store the type > of database record? As Matt said, this is fine. I've done it myself. But there are performance trade-offs. Filtering out one category means skipping over all the other records. OTOH, using separate databases increases the size of the system

multi-line fields

2002-03-11 Thread Jason Freund
Hi, I'm trying to FldSetTextPtr a string into a multi-line field with scrollbar, but when the field renders, the text gets chopped off with the first line, instead of wrapping to the following lines of the field. In constructor, the properties are: width = 135 height = 60 usable = 1 editable = 0

RE: How to use application info in my app

2002-03-11 Thread Danny Epstein
> I would like to bring up the info screen that the > built-in launcher has. Is there a way to do that? I don't think so. Are you looking for a launch code? You could always write your own equivalent dialog by enumerating the databases yourself. -- Danny @ PalmSource -- For information on usi

RE: Detect install/uninstall of app?

2002-03-11 Thread Danny Epstein
> Is there a way to discover that an application (with any creator ID) has > been installed or uninstalled that doesn't require comparing the currently > installed apps against a previously captured list of apps? I don't think so. I supposed you could patch DmCreateDatabase. ;-) > I see that the

Re: multi-line fields

2002-03-11 Thread Joe
--- Jason Freund <[EMAIL PROTECTED]> wrote: > > I'm trying to FldSetTextPtr a string into a multi-line > field with scrollbar, but when the field renders, the > text gets chopped off with the first line, instead of > wrapping to the following lines of the field. Are you calling FldRecalculat

Getting all Junk Values in CategorySelect() function

2002-03-11 Thread Yuva Kumar R
Dear All, I am developing a customized application and in that I need to display a list of categories. When I use CategorySelect() function to display a list of categories, I am getting a list of Junk values instead of Main, System, Games, etc. After that, I get a error message saying the Memor

Application Launcher for Palm

2002-03-11 Thread Amaravadi Ravi Kumar
Dear All, I am trying to develop a sample application which locks individual palm applications with a password. Like if I click on the AddressBook, I should be prompted with a password, and after validation, I should be allowed access to the normal AddressBook. Can anyone please help where can I

Getting rid of a database after you've screwed it up ;-)

2002-03-11 Thread Matt Disher (TiBook)
Getting rid of a database after you've screwed it up ;-) I've got an app now with an occasional Free Handle Error that makes my database untouchable and un-deleteable. (that is you even think about looking/touching it and it crashes with MemoryMgr.c, Line 4384 Free Handle Is there anyway to nuk

Re: I want to display the buttons just like calculator

2002-03-11 Thread Prasad Brid
Please guide me on the following issue : I want to display the Key pad. I have used the command buttons. But our client wants the numeric keys should look same as calculator buttons (Palm inbuilt calculator). I can use the graphical buttons but didn't have the numeric images. Where I can get it.

Bitmap type in Palm database

2002-03-11 Thread cpssband cpssband
Hi, everybody: i have developed a palm application where the database contain a list of strings record + 1 bitmap record .. how to define my database structure, initially, i define it as typedef struct { char *fields[FieldsCount]; BitmapPtr Graphic } TestDBRecordType; however,