Re: Remote debug on m515

2003-02-14 Thread Marco Pantaleoni
(search it at PalmGear). (Btw DotDotV2 is in the SDK 4 examples) - I gave up trying USB debugging on M500 and started using a serial cable... HTH Marco -- Marco Pantaleoni [EMAIL

Re: dates in pdb header

2003-02-05 Thread Marco Pantaleoni
: 24107 * 24 * 3600 == 2082844800 Ciao, Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer

Re: SysRandom

2003-01-27 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer Forums, or to unsubscribe

Re: error: crt0.c:35: multiple definition of 'start'

2003-01-23 Thread Marco Pantaleoni
bet my pants that using `start' in a program is safe, since the `start' in crt0.o should be `_start' actually. Cheers, Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy

Re: error: crt0.c:35: multiple definition of 'start'

2003-01-23 Thread Marco Pantaleoni
On Thu, Jan 23, 2003 at 10:45:37AM +0100, Marco Pantaleoni wrote: By the way, I'd bet my pants that using `start' in a program is safe, since the `start' in crt0.o should be `_start' actually. I guess I've losed my pants... By doing: $ pwd /usr/local/palmos/m68k-palmos/lib $ m68k

Re: C Question

2002-12-18 Thread Marco Pantaleoni
access at run-time to the structure of objects, can provide both types of copy. Answering to your original question, MemMove() performs a shallow copy, exactly like the assignment operator. Cheers, Marco -- Marco Pantaleoni

Re: C Question

2002-12-17 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information

Re: RockMusic project?

2002-10-28 Thread Marco Pantaleoni
On Mon, Oct 28, 2002 at 04:20:26PM -0500, Dave Lippincott wrote: I have 3.5 and 5.0 installed on different systems and its on both. FWIW, I have it on 3.5, but not in 4.0 (directory Examples/RockMusic). -- Marco

Re: String Issues

2002-10-22 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm

Re: DatebookDb Problem

2002-09-27 Thread Marco Pantaleoni
On Fri, Sep 27, 2002 at 06:30:27PM +0200, [EMAIL PROTECTED] wrote: TimeDateE.hours = 15; TimeDateE.hours = 00; I guess that you meant minutes here on the second statement. Marco -- Marco Pantaleoni

Re: Struct problem or maybe other problems...

2002-09-25 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer

Installing a new PRC preserving the old one

2002-07-16 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer Forums, or to unsubscribe, please

Re: Installing a new PRC preserving the old one

2002-07-16 Thread Marco Pantaleoni
parameter to AlmSetAlarm(), right? Thanks a lot! Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language

Re: UInt16? UInt32? What is this?

2002-07-11 Thread Marco Pantaleoni
are wandering... Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http

Re: UInt16? UInt32? What is this?

2002-07-11 Thread Marco Pantaleoni
, thinking in terms of characters could be somewhat misleading: maybe symbols could be a better choice. Just a guess though, I don't know anything about compression. Marco -- Marco Pantaleoni [EMAIL

Re: Looking for image manipulation code

2002-07-11 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer

Re: CodeWarrior Question (Somewhat OT)

2002-07-10 Thread Marco Pantaleoni
editor of choice. Then you can switch to the windows box to compile with Codewarrior (or you can even use VNC to do that remotely). Or just switch to prc-tools and do everything from unix :-) Marco -- Marco Pantaleoni

Re: Regarding CW Enterprise Edition

2002-07-10 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm

Re: How to create indexes inside primary DB

2002-07-08 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm

Re: Error in declaring a self referential structure

2002-07-08 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer

Re: Which is the fastest way to access large databases?

2002-07-07 Thread Marco Pantaleoni
in memory the index record and use binary search to find the proper record index. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL

Re: Which is the fastest way to access large databases?

2002-07-07 Thread Marco Pantaleoni
On Sun, Jul 07, 2002 at 08:19:14PM +0200, Marco Pantaleoni wrote: a record in your primary DB to store record indexes stored after ^^ sorted Marco

Re: Transffer of the .PDB files...

2002-07-04 Thread Marco Pantaleoni
protocol (tftp, HTTP, roll-your-own, ...). Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer

Re: Transffer of the .PDB files...

2002-07-04 Thread Marco Pantaleoni
, even if I never used these. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer

Re: scrollbar arrows not getting redrawn

2002-07-04 Thread Marco Pantaleoni
arrows are not redrawn correctly, then avoiding them altogether and relying uniquely on the scrollbar could improve the situation. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy

Re: scrollbar arrows not getting redrawn

2002-07-03 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer Forums, or to unsubscribe

Re: code optimization

2002-07-02 Thread Marco Pantaleoni
friend here :-) (Btw this list is PalmOS related...) But if you have more specific questions about code optimization, possibly inherent to PalmOS programming, don't hesitate to ask. Ciao, Marco -- Marco Pantaleoni

Re: scrollbar arrows not getting redrawn

2002-07-02 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer

Re: scrollbar arrows not getting redrawn

2002-07-02 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using

Re: scrollbar arrows not getting redrawn

2002-07-02 Thread Marco Pantaleoni
the sources, I don't :-) But scrolling works fine nevertheless. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED

Re: Optimization

2002-06-28 Thread Marco Pantaleoni
two clauses. Cheers, Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http

Re: Optimization

2002-06-28 Thread Marco Pantaleoni
On Fri, Jun 28, 2002 at 11:46:12AM +0200, Marco Pantaleoni wrote: in this case, and considering each test equalli expensive, it's convenient s/equalli/equally/ to order them from the one with the lowest probability (the one which will evaluate to a false logical value most frequently

Re: blank numeric fields

2002-06-25 Thread Marco Pantaleoni
StrCopy() (or strcpy())! Ciao, Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer

Re: blank numeric fields

2002-06-25 Thread Marco Pantaleoni
. It's called short circuit evaluation, and it's mandatory in C for every compiler (for logical binary operators). Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy

Re: blank numeric fields

2002-06-25 Thread Marco Pantaleoni
, tempcharstar ? tempcharstar : ); (FWIW I'm slightly partial to the latter, since it's more concise and, at least in my opinion, clearer). Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova

Re: Handling large databases

2002-06-24 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer Forums

Re: Handling large databases

2002-06-24 Thread Marco Pantaleoni
On Mon, Jun 24, 2002 at 10:01:50AM +0200, Marco Pantaleoni wrote: O(n logn). Hash tables have a O(1) common case, but fall to O(n) in O(logn), not O(n logn), sorry. Marco -- Marco Pantaleoni

Re: Nailed by Constructor

2002-06-16 Thread Marco Pantaleoni
:-) Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org

Re: JPEG display

2002-06-14 Thread Marco Pantaleoni
. If this is not applicable, consider also using BMP, since it's quite easy to write a bmp loader from scratch, and bmp is natively supported on windows. Marco -- Marco Pantaleoni [EMAIL PROTECTED

Re: Direct Screen Access in Palm OS 5

2002-06-14 Thread Marco Pantaleoni
to the publisher being restrictive.. I don't know the book nor the author, but I guess it would be fair to read the book (not the reviews) before criticizing it in any way. Cheers, Marco -- Marco Pantaleoni

Re: hardware failures

2002-06-03 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org

Re: color syntax highlighting on a Palm

2002-06-02 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org

Re: color syntax highlighting on a Palm

2002-06-02 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using

Re: Regular Expressions?

2002-05-31 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer Forums

Re: bus exception connecting socket

2002-05-21 Thread Marco Pantaleoni
guess though... Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http

Re: Documentation of Code .. any Software packages available?

2002-04-10 Thread Marco Pantaleoni
references) cutils (many C related utilities) cscope (source browsing, usable from Emacs too) And for pretty-printing: cpost a2ps enscript Hope this helps, Marco -- Marco Pantaleoni

Re: TblGetItemPtr

2002-03-04 Thread Marco Pantaleoni
a warning for a missing prototype). Maybe you have a problem with linker settings. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL

Re: Unique IDs in PDB files

2002-03-04 Thread Marco Pantaleoni
should set the seed to 0 and use 3 NUL bytes in unique IDs present in record headers also. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy

Re: Unique IDs in PDB files

2002-03-04 Thread Marco Pantaleoni
On Mon, Mar 04, 2002 at 12:01:39PM -0500, Brian Smith wrote: On Mon, 4 Mar 2002, Marco Pantaleoni wrote: You don't need to worry. As explained in the File Format Specification document, you should set the seed to 0 and use 3 NUL bytes in unique IDs present in record headers also

Re: Line Error Framing

2002-02-28 Thread Marco Pantaleoni
), and that the cabling is good. (You can consult the Serial HOWTO for more info: http://www.easysw.com/~mike/serial) Hope this helps. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy

Re: SDK 4.0 Update 1 available now

2002-02-23 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org

Re: Removing a running application programmatically

2002-02-22 Thread Marco Pantaleoni
, and to avoid any possible confusion. Please, if you could share any further insight it would be very appreciated! Thanks, Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy

Re: Removing a running application programmatically

2002-02-22 Thread Marco Pantaleoni
. Cheers, Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http

Removing a running application programmatically

2002-02-21 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm

Re: Removing a running application programmatically

2002-02-21 Thread Marco Pantaleoni
On Thu, Feb 21, 2002 at 07:29:23PM +0100, Marco Pantaleoni wrote: DmOpenRef dbPrcP; LocalID dbPrcID; UInt16dbPrcCardNo; UInt16attributes; Err err = 0; /* remove the PRC */ dbPrcP = DmOpenDatabaseByTypeCreator( 'appl', appCreator

Re: problem with StrNCopy

2002-02-16 Thread Marco Pantaleoni
... -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org

Re: POSE 3.4

2002-02-15 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org

Re: Risky tSTR

2002-02-12 Thread Marco Pantaleoni
is in range 0 - 255. Ciao, Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http

Re: Using Structure to store into the database

2002-02-12 Thread Marco Pantaleoni
? :-), and store those, or you can pack your data structure in a single string, by separating fields with a separator character. The latter solutions saves space but it is more complex to implement. Cheers, Marco -- Marco Pantaleoni

Re: PalmOS Databases and Primary Key (Record UniqueID)

2002-02-10 Thread Marco Pantaleoni
UniqueID's are not guaranteed to remain constant across synchronizations, but I could easily be wrong here. Read the specs. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy

Re: Strange beavior of StrCopy

2002-01-31 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer

Re: Code Warrior Compiler bug?

2002-01-27 Thread Marco Pantaleoni
On Sat, Jan 26, 2002 at 06:33:32PM -0800, Dave Carrigan wrote: Marco Pantaleoni [EMAIL PROTECTED] writes: Otherwise, as suggested by others, you can resort to #pragma to specify packed structures, but this is not portable and I'd tend to consider this one a bad programming practice. I

Re: Code Warrior Compiler bug?

2002-01-27 Thread Marco Pantaleoni
structures. The data description language could be XML or Scheme for example (my vote would be for the latter, but YMMV). Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy

Re: Code Warrior Compiler bug?

2002-01-26 Thread Marco Pantaleoni
, but this is not portable and I'd tend to consider this one a bad programming practice. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy

Re: Code Warrior Compiler bug?

2002-01-25 Thread Marco Pantaleoni
(which are implementation details). Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer

Re: Code Warrior Compiler bug?

2002-01-25 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org

Re: Code Warrior Compiler bug?

2002-01-25 Thread Marco Pantaleoni
On Sat, Jan 26, 2002 at 04:39:05AM +0100, Marco Pantaleoni wrote: You should really encode/decode your messages by manipulating sequences of bytes / words / dwords as needed. Remember also that when you encode/decode words and dwords in a way that is intended to be portable between

Re: VFSFileCreate Performance Issue

2002-01-24 Thread Marco Pantaleoni
with filenames already sorted. You could try to create files without respecting an alphabetical order in case you are doing so now. But I wouldn't be too optimistic. Marco -- Marco Pantaleoni [EMAIL

Re: GPS receiver for PALM m500

2002-01-22 Thread Marco Pantaleoni
the code on your development platform of choince (Unix, Win, ...) and then rewriting only the serial port handling backend. Cheers, Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy

Re: FloatMgr

2002-01-22 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer Forums

Re: GPS receiver for PALM m500

2002-01-21 Thread Marco Pantaleoni
for Earthmate from DeLorme. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http

Advice needed: browsing of large list

2002-01-19 Thread Marco Pantaleoni
, Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org

Re: Size of record??

2002-01-17 Thread Marco Pantaleoni
-- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org