Re: tutorial / programming examples web pages ?

2004-08-06 Thread Christian Lindemeier
Hello All on documentation you will need can be found on http://www.palmos.com/dev/support/docs/palmos/. If you use Codewarrior, then you have some exaples on your harddrive in the Palm OS SDK folder. Christian Palm Developer Forum [EMAIL PROTECTED] schrieb am 05.08.04 11:38:21: Hi

meazura

2004-08-06 Thread zakibakar
hi, i'm currently developing an application with meazura's palmunfortunately i don't know how to integrate my development environment with the deviceswhat tools do I need.and what configuration that i need to setup ??? for your information, I am currently developing with PalmOS

C++ virtual methods with prc-tools

2004-08-06 Thread John Gruenenfelder
I have a fairly large m68k project (Weasel Reader) that I've built with prc-tools 2.3. Recently, I've been rewriting some of the graphics code in a class framework to make my life simpler. Unfortunately, it seems that when one of my objects' destructors is called, the device jumps off someplace

Re: C++ virtual methods with prc-tools

2004-08-06 Thread Ton van Overbeek
In article [EMAIL PROTECTED], John Gruenenfelder wrote: I have a fairly large m68k project (Weasel Reader) that I've built with prc-tools 2.3. Recently, I've been rewriting some of the graphics code in a class framework to make my life simpler. Unfortunately, it seems that when one of my

Get day of week from system date

2004-08-06 Thread Chris Hall
Does anyone have a code sample of how to extract the system date and find out what day of the week it is? Thanks, Chris Hall -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Get day of week from system date

2004-08-06 Thread Chris Faherty
On Friday 06 August 2004 08:51 am, Chris Hall wrote: Does anyone have a code sample of how to extract the system date and find out what day of the week it is? DateTimeType dt; UInt16 dow; TimSecondsToDateTime(TimGetSeconds(), dt); dow = DayOfWeek(dt.month, dt.day, dt.year); -- /* Chris

Re: Get day of week from system date

2004-08-06 Thread Chris Hall
Thanks! Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

FW: Palm Error: undefined reference to `_GccLoadCodeAndRelocateData'

2004-08-06 Thread Ritu Chawla
-Original Message- From: Shilpi [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 6:57 PM To: Ritu Chawla Subject: Palm Error: undefined reference to `_GccLoadCodeAndRelocateData' I am getting the following error when trying to compile my palm code using prc-tools. ERROR:

Re: Palm Error: undefined reference to `_GccLoadCodeAndRelocateData'

2004-08-06 Thread Aaron Ardiri
`_GccLoadCodeAndRelocateData' `_GccReleaseCode' are defined in crt.0 MAKELIB = $(CC) -nostartfiles -shared -g -O1 -Wmissing-declarations see that -nostartfiles flag? thats saying dont link against crt.0 so, of course it doesn't find those functions declared when linking. --- Aaron Ardiri

data persistence in callback routine

2004-08-06 Thread Edan
Hello, I have a callback routine which executes when my app is currently not running. This routine gets/sets important variables for my app. I was using FTR's to persist data between my app and the callback and everything was wroking great.. until I got a soft reset(from another app) which

Re: C++ virtual methods with prc-tools

2004-08-06 Thread Dave Carrigan
On Fri, Aug 06, 2004 at 01:09:07AM -0700, John Gruenenfelder wrote: What is going on? This is the first time I've used any C++ class stuff with prc-tools... are there any caveats I should be aware of? Specifically with multi-segment programs? I use pure virtual base classes with the base

Re: Cobalt simulator?

2004-08-06 Thread Gary Olmstead
OK, I got it. I don't know why I couldn't find it before. Thanks for your help, and patience. Gary -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

CtlHitControl doesn't check box on screen

2004-08-06 Thread Timothy Dean
When I call CtlHitControl for a particular check box, the event gets thrown and I am able to set the data ok for that check box, but the it doesn't get checked on the screen. I am grouping a set of check boxes together to act like radio buttons. When the user selects one manually on the screen,

Re: CtlHitControl doesn't check box on screen

2004-08-06 Thread Ben Combee
At 01:14 PM 8/6/2004, you wrote: When I call CtlHitControl for a particular check box, the event gets thrown and I am able to set the data ok for that check box, but the it doesn't get checked on the screen. I am grouping a set of check boxes together to act like radio buttons. When the user

beaming OS 5 to OS 3.2

2004-08-06 Thread Ornstein, Adam
Hi, I think I may have found a weird problem with beaming. I can beam my application from OS 5 to OS 3.5 to OS 3.2, and it will work as expected... But I cannot beam from OS 5 to OS 3.2. Is this a known issue, or is there something I can do to correct this? Thanks -- For information on using

How can i write in the appinfo block?

2004-08-06 Thread Alexandre Luz Barreto
i can use DmGetAppInfoID to get the Local Id of a open database but how can i write there? thanx -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Macro offsetof!!!

2004-08-06 Thread Gláucio Barizon Pançardes
How I make to use offsetof in my programs? The compiler returns an error when I am trying to use this function! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Macro offsetof!!!

2004-08-06 Thread Krzysztof Kowalczyk
On Fri, 6 Aug 2004 15:54:21 -0300, Gláucio Barizon Pançardes [EMAIL PROTECTED] wrote: How I make to use offsetof in my programs? The compiler returns an error when I am trying to use this function! Post the code fragment that causes the problem and exact error message from the compiler.

Re: Macro offsetof!!!

2004-08-06 Thread Greg Lutz
At 11:54 AM 8/6/2004, Gláucio Barizon Pançardes [EMAIL PROTECTED] wrote: How I make to use offsetof in my programs? The compiler returns an error when I am trying to use this function! #include cstddef or #include stddef.h -- For information on using the Palm Developer Forums, or to

Re: Macro offsetof!!!

2004-08-06 Thread Ben Combee
At 01:54 PM 8/6/2004, you wrote: How I make to use offsetof in my programs? The compiler returns an error when I am trying to use this function! The Palm OS SDK headers define OffsetOf -- notice the capitalization. -- Ben Combee, DTS technical lead, PalmSource, Inc. Combee on Palm OS weblog:

Re: Macro offsetof!!!

2004-08-06 Thread Gláucio Barizon Pançardes
sorry for the few information! I am using codewarrior 8.0 to compile my projects and in this I break up of codigo meeting the following error! I want to use the macro offsetof!!! Code: UInt16 offset = offsetof(PackedCliente, nome); Error : function has no prototype DBrecordMain.c line 297

Re: Macro offsetof!!!

2004-08-06 Thread Ben Combee
At 02:40 PM 8/6/2004, you wrote: sorry for the few information! I am using codewarrior 8.0 to compile my projects and in this I break up of codigo meeting the following error! I want to use the macro offsetof!!! Code: UInt16 offset = offsetof(PackedCliente, nome); Error : function has no

Re: Macro offsetof!!!

2004-08-06 Thread Greg Lutz
At 12:40 PM 8/6/2004, Gláucio Barizon Pançardes [EMAIL PROTECTED] wrote: sorry for the few information! I am using codewarrior 8.0 to compile my projects and in this I break up of codigo meeting the following error! I want to use the macro offsetof!!! Code: UInt16 offset = offsetof(PackedCliente,

Can PilRC Designer assign a BITMAPFAMILYEX to a graphical button?

2004-08-06 Thread Stephen Klein
Hi, I'm using PilRC Designer (version 2.0.3.0) and want to create a graphical button and use a BITMAPFAMILYEX for the image (to show a high resolution image on high density displays, and normal resolution on older displays). The BITMAPFAMILYEX looks ok when I view it in the Designer

Re: Can PilRC Designer assign a BITMAPFAMILYEX to a graphical button?

2004-08-06 Thread Ben Combee
At 03:20 PM 8/6/2004, you wrote: Hi, I'm using PilRC Designer (version 2.0.3.0) and want to create a graphical button and use a BITMAPFAMILYEX for the image (to show a high resolution image on high density displays, and normal resolution on older displays). The BITMAPFAMILYEX looks ok

Re: How can i write in the appinfo block?

2004-08-06 Thread Greg Lutz
At 11:50 AM 8/6/2004, you wrote: i can use DmGetAppInfoID to get the Local Id of a open database but how can i write there? thanx Here's a distillation of some code we use for this purpose. Note that it's (uncompiled) C++ code, that not all appropriate error checking is shown, and that the

Re: Can PilRC Designer assign a BITMAPFAMILYEX to a graphical button?

2004-08-06 Thread Stephen Klein
You are hitting a bug in PilRC Designer. The PilRC compiler can handle this, and the resources work fine on Palm OS, but this particular resource editor doesn't understand this syntax. Sorry. Thank you Ben! I was afraid of that, but am glad to have the answer. Are there other resource

Re: C++ virtual methods with prc-tools

2004-08-06 Thread John Gruenenfelder
On Fri, Aug 06, 2004 at 02:47:53PM +0200, Ton van Overbeek wrote: I am afraid I cannot give much direct help, but only a few caveats: - I have never tested my multisection debugging patches on 'real' C++ code, so there might be additional fixes needed for C++. - Also, as you know,

Re: C++ virtual methods with prc-tools

2004-08-06 Thread John Gruenenfelder
On Fri, Aug 06, 2004 at 09:22:26AM -0700, Dave Carrigan wrote: On Fri, Aug 06, 2004 at 01:09:07AM -0700, John Gruenenfelder wrote: What is going on? This is the first time I've used any C++ class stuff with prc-tools... are there any caveats I should be aware of? Specifically with

IR and serial ports

2004-08-06 Thread Danielle O'Hallisey
I have written some code to test whether or not the IR port is properly opened under serial manager, and the implication is that it is not. CSerialStream ser (serPortIrPort, 1200, 1 * SysTicksPerSecond(),5); //initialize the port as IR port, 1200 baud, timeout is 1 second

Re: Can PilRC Designer assign a BITMAPFAMILYEX to a graphical button?

2004-08-06 Thread Stephen Klein
Actually, it just occurred to me to use a run-time call to CtlSetGraphics to have the same effect as the tweek I did in notepad. Works great! So, hopefully I can postpone any switching of resource editors until a more convenient time... -- Stephen -- For information on using the Palm

RE: IR and serial ports

2004-08-06 Thread Martin Bruner
Shouldn't there be a SrmOpen(serPortIrPort,1200,PortID) somewhere? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Danielle O'Hallisey Sent: Friday, August 06, 2004 7:12 PM To: Palm Developer Forum Subject: IR and serial ports I have written some code to

Palm Error: cannot open scrt0.o

2004-08-06 Thread Saurabh Agarwal
Hi, I am getting the following error when trying to compile my palm code using prc-tools. ERROR: /usr/m68k-palmos/bin/ld: cannot open scrt0.o: No such file or directory collect2: ld returned 1 exit status make: *** [MsgLib.lib] Error 1 My gcc version is:

Re: Palm Error: undefined reference to `_GccLoadCodeAndRelocateData'

2004-08-06 Thread Saurabh Agarwal
Hi Aaron, Thanx a lot for the reply. That problem is sloved. But now I am getting another problem in continuation of that. Here are the details. ~~~ ~~~