Problems with Serial Manager (trying to use IR)

2003-11-15 Thread José Miguel Vives C.
Hey all!!! I'm trying to use the serial manager to send a simple 3 byte code, two numbers and one character and I can't manage to get a good signal, I'v already try with a M100 and a Tungsten E. The problem is that I use a web cam I do see the "dot" of the light of the IR, but not as clear as when

Re: switching off the display

2003-11-15 Thread Ben Combee
At 07:46 AM 11/15/2003, Collin R. Mulliner wrote: Hi List, how can I switch off the display (to save power) while my application runs? RealOne does this on my T|T3, I searched all over palmsource.com couldn't find anything ... I know it can be done. The pluggedin.palm.com developer program has a h

Re: templates in codewarrior

2003-11-15 Thread Ben Combee
At 01:46 AM 11/15/2003, Virendra wrote: Now...the problem lies there - "code bloat"! I dunno how does the CW linker is working but what I gather is that most of the time a linker(and not "the" linker!) would not eliminate the "duplicate" code generated by the compiler from various compilation units

Random numbers or entropy sources?

2003-11-15 Thread Greg Parker
I'm writing a program that includes cryptographic code. I'm looking for a good source of random numbers, or (failing that) some good sources of entropy to feed into a PRNG in my own code. I don't mind simple undocumented or semi-documented mechanisms, as long as they will work on my Tungsten C

about record database.

2003-11-15 Thread KEN
I want to generate a .pdb file (using pdbc compiler http://www.obermuhlner.com/public/Projects/Palm/PDBC/index.html ) with the records as follow: record begin includebin "abc.txt" end; The file structure of the binary text file is like this: (minX)(minY)(noOfCoordinate)(x1)(y1)(x2)(y2).

Re: Compressing Palm Records

2003-11-15 Thread Ron Nicholson
Note that LZ compression methods are good at compressing large chunks of data. If your records are small, you might have better luck using a dictionary or run-length compression algorithm that has some pre-knowledge of the characteristics of the data contained in the records. IMHO. YMMV. Ron Ni

Re: pointer to function in ARM

2003-11-15 Thread Ron Nicholson
On Sat, 15 Nov 2003 07:06:19, Wolfgang Spraul writes: > I have terrible > problems with fragmentation, especially on the dynamic heap, _especially bad_ > with nonmovable chunks. This is the way all non-virtual-memory allocators work. You need to allocate all your non-moveable chunks all at once

Re: How to make CW compille the right code?

2003-11-15 Thread Alance Bexnar
Flex wrote: Hi all, I think everyone has a big database of ide dumps in the CW bin folder - about 30-40 per week. That's normal - cw is crashing alot especially when it fails to compille right code and run a debug... I've seen many times debugging commented code, outside of a functions on a bla

Help needed with beaming the Socket appData field

2003-11-15 Thread Luc Le Blanc
My program beams records, and uses the appData field of the ExgSocketType struct to send information about the beamed contents to the other device. appData is a 32-bit user-defined field. I do: typedef struct { UInt8 type; UInt8 category; Boolean exists; UInt8

Re: How can I use the PC infrared adapter to communicate with palm TT!

2003-11-15 Thread Jan Slodicka
Hello, we use USB/IR Infrared Adapter from Tekram (quite cheap) and the connection works perfectly. They might have also serial/IR adapter. This is what I noted when installing that adapter: Windows 2000: (Do not pLug in Adapter cable into PC USB port!) a) Install Tekram driver from the Driver C

switching off the display

2003-11-15 Thread Collin R. Mulliner
Hi List, how can I switch off the display (to save power) while my application runs? RealOne does this on my T|T3, I searched all over palmsource.com couldn't find anything ... I know it can be done. thanks ... Collin -- PalmOS @ MUlliNER.ORG Collin R. Mulliner <[EMAIL PROTECTED]> web: www.mu

Re: Compressing Palm Records

2003-11-15 Thread miches
try LZO, it has a little version 'miniLZO' that won't eat too much of your code segment size. -miches Palm Developer Forum <[EMAIL PROTECTED]> wrote: > > "David R." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Does anyone have any good compression source code in C/C++ th

Re: Compressing the bitmap

2003-11-15 Thread miches
hi marianne, bitmaps resources have a 64k boundary limit, coz they are stored as database records too. you can try the other compression methods available such as the Packed-Bits, Best-Fit and others for constructor. Also, in my experience, i have achieved huge compression ratio using PiLRC.

Re: Conduit Check available memory on Palm

2003-11-15 Thread Laurens
"David R." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is it possible to check the available memory on the palm during the download > process via some conduit api? I can't seem to find a function that can do > this. SyncReadSingleCardInfo. See the API docs for more details. Re

Re: Compressing Palm Records

2003-11-15 Thread Laurens
"David R." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does anyone have any good compression source code in C/C++ that works well > and fast on PalmOS? I would like to compress each record in a database > except for its key. ZLIB would be a good candidate. (There's a shared libr

Re: is there a memory leak in OS 2.0 menu handling?

2003-11-15 Thread KEN
??? "David M. Lasker" <[EMAIL PROTECTED]> ??? news:[EMAIL PROTECTED] ???... > I am trying to ensure my newly developed app is compatible with OS > releases 2 and up. When I run gremlins on OS 2.0, I see a memory leak. I > don't get this leak in any other OS releases, although I understand that > th

Re: templates in codewarrior

2003-11-15 Thread Virendra
> >Do I have to do something with my preferens in > CodeWarrior to get > >CodeWarrior to use templates ??? > > You just need to be building C++ code. You can do > this by naming your > source files with a .cpp, .cp, .cc, or .c++ > extension. You can for C code > to be built as C++ code by turn

Compressing the bitmap

2003-11-15 Thread Marianne
Hello, There has been a discussion on compressing and uncompressing a bitmap resource.. I am using the constructor v1.8 I have set the compression in property to RLE.. But during compilation it gives warning saying " PalmRez Warning: Output resource size is greater than ~64K size limit: 'Tbmp 13