Re: build-prc fails under linux, works fine under Windows

2000-04-08 Thread bytefox
"John Marshall" <[EMAIL PROTECTED]> wrote: > bytefox <[EMAIL PROTECTED]> wrote: > > The RPM on the palm.com sites is made for redhat 6.1 and is linked > > dinamically with that version of libc and libstdc++. The problem, if I > > remember rigth, is that Mandrake 7 use a different (newer) libstdc

Re: Bachmann Print - Mac - Resource Files???

2000-04-08 Thread ss
Well, in Codewarrior, when I open the project, and try to compile, it gives me an error that says it cant copy the resources. The resource files have resedit icons, but when I try to open either of them with resedit, it tells me there is no resource fork!! If I open it with codewarrior construc

gotype codes

2000-04-08 Thread Richard Bram
Someone has requested that I add support for the gotype keyboard. Does anyone know where to find a list of character and modifier codes generated by it? Thanks, Rick Bram -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailing

Re: Inserting large field without scrolling

2000-04-08 Thread Steve
>Do a FldEraseField and [your stuff] and FldDrawField job. Works perfectly for >me. I do it in pedit many times. Best regards, Paul [author of pedit] The FldEraseField was definitely the trick! I don't quite see why that does something that FldDelete and InsPtEnable(false) don't do, but it does

Re: Inserting large field without scrolling

2000-04-08 Thread Paul Nevai
Steve wrote to Paul Nevai: # # I have a multiline (let's say 3, it doesn't matter) field, and am going # to insert more text into it than fits on those three lines (but it does # fit within the limits of the field, no problem). I use two statements: # # FldInsert(fld,theChars,StrLen(theChars))

Re: Frozen Handles? (was: Re: MemHandleNew() vs. MemPtrNew())

2000-04-08 Thread Neil Rhodes
> > Richard Hartman wrote in message <7003@palm-dev-forum>... > In short the question > is whether you can save a handle to a db record > and expect it to be valid when you read the record > back, given that the handle being saved points to > a chunk that is attached to some database? > > > --

PalmOS 3.5 memory leak surviving a reset ?

2000-04-08 Thread Ron Nicholson
When I reset POSE while running my multi-segment application under the PalmOS 3.5 non-debug ROMS, two 4 kbyte chunks with owner id #3 are left in the static heap. This does not seem to happen under PalmOS 3.1. For example, after every reset the Palm Debugger hd 1 command shows 2 *additional* e

Re: DmDeleteRecord and DmRemoveRecord

2000-04-08 Thread Michael Yam
Yes. If you sort the database, DmDeleteRecord-ed records go to the end. When you close your form or otherwise cleanup, you can scan backwards and use DmRemoveRecord to really get rid of them. Note that DmQueryRecord() will return a 0 if the record has been marked deleted. Also, watch your bound

Inserting large field without scrolling

2000-04-08 Thread Steve
I have a multiline (let's say 3, it doesn't matter) field, and am going to insert more text into it than fits on those three lines (but it does fit within the limits of the field, no problem). I use two statements: FldInsert(fld,theChars,StrLen(theChars)); FldSetScrollPosition(fl

Re: PRC-TOOLS 2.0 - Definitely getting closer.

2000-04-08 Thread Mike Davis
John, I found the problem thanks to your help. The problem turned out to be an easy fix but was difficult to know what was going on. Thanks to your float bug tip, I found the problem. It turned out that I had the floating point bug "fix" installed incorrectly. I did a search of my disk and f

DmDeleteRecord and DmRemoveRecord

2000-04-08 Thread Paul Nevai
If I have some DmDeleteRecord-ed records, can I remove them with a DmRemoveRecord? Thanks. Best regards, Paul -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html

Database tables and other tales...

2000-04-08 Thread Stringer
Actually, databases and tables are misnomers for the Palm OS data structure, which is really just a data storage methodology with none of the database or table support that the name suggests. The Palm OS data storage support is pretty neat, and takes advantage of the RAM in which it is stored, bu

Re: DmNumRecords Error

2000-04-08 Thread Matthew D Moss
> DmDeleteRecord marks a record as deleted, but does not actually remove it. > This gives hotsync a chance to coordinate the deleted records with the > records on the Palm handheld. Use DmRemoveRecord to really remove the > record and your DmNumRecords will then report the number you expect. Or,

Re: Simple color question

2000-04-08 Thread Chuck Atwood
Peter Hribar wrote: > "Support for bit depths of 4, 2, and 1 is indicated by ... > Support for bit depths of 24, 8, 4 and 2 is indicated by ..." > > from Palm OS SDK Reference, pg.856 > > How many colors (greys) can display each of this 5 depth? > Bits implies base 2: 2^12 2^24 2^416

Re: DmNumRecords Error

2000-04-08 Thread Michael Yam
DmDeleteRecord marks a record as deleted, but does not actually remove it. This gives hotsync a chance to coordinate the deleted records with the records on the Palm handheld. Use DmRemoveRecord to really remove the record and your DmNumRecords will then report the number you expect. -- Michael

RE: DmNumRecords Error

2000-04-08 Thread Mitch_Fawcett
DmRemoveRecord will remove the record from the database and free the chunk of memory it took up. DmNumRecords will not count the record because it won't be there anymore. If you use DmDeleteRecord only the 'delete' bit in the record gets set. It then gets moved to the end of the database. It's st

Re: How to set char ptr to null?

2000-04-08 Thread Richard Burmeister
From: "Cherlene Lim" <[EMAIL PROTECTED]> >can I know how to set a character pointer to null value? I'm not sure if you want to set the character pointer to null or you want to do something to the characters it points to, but perhaps these examples will help: Char temp[3];// this will be

Simple color question

2000-04-08 Thread Peter Hribar
"Support for bit depths of 4, 2, and 1 is indicated by ... Support for bit depths of 24, 8, 4 and 2 is indicated by ..." from Palm OS SDK Reference, pg.856 How many colors (greys) can display each of this 5 depth? Peter Hribar -- For information on using the Palm Developer Forums, or to uns

Re: Selector Trigger

2000-04-08 Thread Dave Johnson
Cherlene Lim wrote: >if i'm going to update the selector trigger in this function...how >should i go abt doing it...(sorry that i'm just a beginner..thus i dun >really know how to declare ur function in my function) It sounds like you're a beginner in C as well as Palm programming: I w

Database version numbers

2000-04-08 Thread Ken Krugler
For resource databases, the version number is used to break ties if two databases with the same type & creator exist on the device, where one is in ROM and the other is in RAM. In that case, the higher version number wins. If the version numbers match, then RAM wins over ROM. Note that when c

Re: TxtGlueReplaceStr, 3.0 debug ROM and IntlDispatch crash

2000-04-08 Thread Ken Krugler
At 12:00am -0800 00-04-07, Palm Developer Forum digest wrote: >Subject: TxtGlueReplaceStr, 3.0 debug ROM and IntlDispatch crash >From: Laurence Lundblade <[EMAIL PROTECTED]> >Date: Thu, 06 Apr 2000 11:13:20 -0700 >X-Message-Number: 53 > >I'm trying to use TxtGlueReplaceStr with PalmOSGlue.Lib. Eve

Re: How to create and use custom font?

2000-04-08 Thread Ken Krugler
Hi Asami, >Does anybody know how to create custom font on Windows? >I'm trying to implement custom font for Japanese Palm OS 3.1. I already >have Windows format custom font data. >I need following information. > > 1) Font data converter from Windows to Palm OS. > 2) How to use custom fonts fr

Re: Remote IR Sync ports?

2000-04-08 Thread dpw Designs
Tim Hewitt wrote: > > Has anyone run across a way to have multiple remote IR sync locations all > feeding back to the same PC or server? > > I'm interested in dropping a bunch of IR ports around the factory to allow > for easy syncing of Palms from many locations. I'm not keen on dropping a PC >

Re: Start Up

2000-04-08 Thread Roger Chaplin
[EMAIL PROTECTED] (Michael Sokolov) wrote: > David Dandeneau <[EMAIL PROTECTED]> wrote: > > > Excuse this fundamental question, but I have been trying to setup a > > development environment to no avail. I am using win98 [...] > > > That's

DmNumRecords Error

2000-04-08 Thread Sam Trimble
Hey, I need to find out how many records there are in a database. Using the DmNumRecords function works pretty good until I delete a record. Then the next time it gets called it still returns the same numbers of records it did before the delete. Is there any way I can get around this or any other

OS 3.5 application launcher broken???

2000-04-08 Thread Bozidar Benc
My application contains a couple of code segments which work as OS patches, so they are locked. If that application is started with the OS 3.5 launcher, it crashes with the error "LauncherDB already opened". The same happens with the Stowaway keyboard driver, and probably with any other applicatio

Re: Start Up

2000-04-08 Thread Michael Sokolov
David Dandeneau <[EMAIL PROTECTED]> wrote: > Excuse this fundamental question, but I have been trying to setup a > development environment to no avail. I am using win98 [...] That's your problem. Install FreeBSD or Linux and if it still doe

Start Up

2000-04-08 Thread David Dandeneau
Excuse this fundamental question, but I have been trying to setup a development environment to no avail. I am using win98, I have the sdk-3.5, and cygwin, prctools, pilrc, and POSE, but I have been unsuccessful in getting a simple hello world program to compile. I have done a fair amount of c prog

RE: prc-tools gz

2000-04-08 Thread Joseph
Thank You. Joseph -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roger Chaplin Sent: Saturday, April 08, 2000 11:27 AM To: Palm Developer Forum Subject: Re: prc-tools gz "Joseph" <[EMAIL PROTECTED]> wrote: > Where can a person find the uncompress/ex

Re: prc-tools gz

2000-04-08 Thread GreatOwlS
In a message dated 4/8/00 9:31:49 AM Eastern Daylight Time, [EMAIL PROTECTED] writes: > Where can a person find the uncompress/extract utility for gz compressed > files? > > Is there a ftp site with such a thing? > > Platform is Winnt WK4.0. > > Thanks. > Joseph I think that WinZip w

ANN: MacFork - Mac/Windows resource development

2000-04-08 Thread Christian Vandendorpe
I'm releasing today a small utility to help in moving Constructor resource files between Mac and Windows. This is great if you are compiling under Windows but want to use the Mac Constructor (or vice-versa). From the readme file: MacFork is a small utility program to help developers do cross-

Re: prc-tools gz

2000-04-08 Thread Roger Chaplin
"Joseph" <[EMAIL PROTECTED]> wrote: > Where can a person find the uncompress/extract utility for gz compressed > files? > > Is there a ftp site with such a thing? > > Platform is Winnt WK4.0. Well, let's see. If you're interested in prc-tools on WinNT, you're going to have to install cygwin.

Re: Take me off this list!!!!!

2000-04-08 Thread Tom Browder
Calm down, clean up your language, and look at the instructions link at the bottom of EVERY message. - Original Message - From: "Bobby" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, April 06, 2000 8:52 PM Subject: Take me off this list! Hey take

Re: Selector Trigger

2000-04-08 Thread Cherlene Lim
hi dave, if i'm going to update the selector trigger in this function...how should i go abt doing it...(sorry that i'm just a beginner..thus i dun really know how to declare ur function in my function)...n i have to set the label to a string "desc updated"..can i do it like this-char g

Re: touchy memo pad records

2000-04-08 Thread Bob Baker
Stephen, Are you using DmGetRecord or DmQueryRecord? If DmGetRecord you MUST follow with DmReleaseRecord or the record remains locked and can't be read again... Bob Baker PARAMID Software Stephen Bentley wrote: > My app is opening the memo pad db (read-only), reading > through the memo pad

Re: Can I Output Debugging messages to the Console or Debugger?

2000-04-08 Thread Bob Baker
Doug, Take a look at IR-Ping available for download from one of the links @ Palm. It uses printf extensively. Bob Baker PARAMID Software Doug McFadyen wrote: > I want my app to be able to do some formatted (sprintf, printf, etc) output > to either the PalmDebugger (in the Debugger window) or i

prc-tools gz

2000-04-08 Thread Joseph
Where can a person find the uncompress/extract utility for gz compressed files? Is there a ftp site with such a thing? Platform is Winnt WK4.0. Thanks. Joseph -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html

Re: Selector Trigger

2000-04-08 Thread Dave Johnson
Cherlene Lim wrote: > I have some problem in getting to display the selector trigger label >with the value that I wanted. Here's a snippet of code that works for me: // a global string variable to hold the label char gSelectorTriggerLabel[255]; // Max length of label is 255 characters: plen

Remote IR Sync ports?

2000-04-08 Thread Tim Hewitt
Has anyone run across a way to have multiple remote IR sync locations all feeding back to the same PC or server? I'm interested in dropping a bunch of IR ports around the factory to allow for easy syncing of Palms from many locations. I'm not keen on dropping a PC in every location to drive the I

Re: Changes to startup sequence?

2000-04-08 Thread John Marshall
revcom <[EMAIL PROTECTED]> wrote: > Has something changed to make Fred's '32K limit workaround' no longer > applicable? Actually something changed to make Fred's technique even easier! If the app's entry point (e.g., the start() function) is not at the beginning of the code #1 resource, build-pr

Re: Section Attribute Idea....

2000-04-08 Thread John Marshall
Thomas Ward <[EMAIL PROTECTED]> wrote: > #pragma section "section1" I considered something like that. The reasons against it were: 1. It would have required adding some kludgy code to GCC. 2. It would increase the chances of different translation units seeing different sections for a functi

Re: prc-tools2 problem

2000-04-08 Thread John Marshall
cswang <[EMAIL PROTECTED]> wrote: > palmos/include/string.h:33: warning: conflicting types for built-in function > `memset' The basic problem here is that the standard C library and its headers aren't really supported on Palm OS. For example, rather than memset() from string.h you're encouraged

How to set char ptr to null?

2000-04-08 Thread Cherlene Lim
hi, can I know how to set a character pointer to null value? Thank. -- ___ Get your free email from http://www.graffiti.net -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mail

Selector Trigger

2000-04-08 Thread Cherlene Lim
hi, I have some problem in getting to display the selector trigger label with the value that I wanted. I have initiated the label of the selector trigger in the constructor. Thus when I wanted to update the label after the user has tapped on the selector trigger, I encounted some proble