Hello everybody,
I have developed a Palm application using Code Warrior C/C++ version, for 
Windows NT.  Now I want to create a static library .lib file for my 
reusable code , so that I do not have to give my reusable code to the 
client.  I do not find any option in codewarrior Preject Settings. Please 
suggest me.
Regards,
Kamal



----------
From:   Palm Developers Forum List[SMTP:[EMAIL PROTECTED]]
Reply To:       [EMAIL PROTECTED]
Sent:   Thursday, August 12, 1999 2:03 AM
To:     Palm Developers Forum List
Subject:        Palm Dev Forum Digest 8/11/99

-> Accessing global variables at reset?
     by Jouni Mannonen <[EMAIL PROTECTED]>
-> Re: Relational database structure using Palm databases
     by Scott Johnson <[EMAIL PROTECTED]>
-> build database resource
     by Eric Siu <[EMAIL PROTECTED]>
-> Re: Accessing global variables at reset?
     by Scott Johnson <[EMAIL PROTECTED]>
-> Re: ExgRegisterData(kMyFileCreator, exgRegExtensionID, "vcf") question
     by Scott Johnson <[EMAIL PROTECTED]>
-> Re: GCC optimization?
     by Aaron Ardiri <[EMAIL PROTECTED]>
-> RE: Accessing global variables at reset?
     by Nick Hammond <[EMAIL PROTECTED]>
-> RE: palm dev on linux?  (somewhat OT)
     by <[EMAIL PROTECTED]>
-> UNSCRIBE ME !!!
     by Bruno BORNIL <[EMAIL PROTECTED]>
-> UNSCRIBE ME !!!
     by Bruno BORNIL <[EMAIL PROTECTED]>
-> UNSCRIBE ME !!!
     by Bruno BORNIL <[EMAIL PROTECTED]>
-> UNSCRIBE ME !!!
     by Bruno BORNIL <[EMAIL PROTECTED]>
-> [NEWBIE] Adding Fields to a Form at runtime
     by "Blair, Matthew P." <[EMAIL PROTECTED]>
-> RE: Palm OS Programming for Dummies
     by "Fawcett, Mitch" <[EMAIL PROTECTED]>
-> Re: [NEWBIE] Adding Fields to a Form at runtime
     by Daniel McCarty <[EMAIL PROTECTED]>
-> RE: list selection with drawfunc
     by "Elia Freedman" <[EMAIL PROTECTED]>
-> Re: palm dev on linux?  (somewhat OT)
     by "John Fullerton" <[EMAIL PROTECTED]>
-> RE: WAP browser
     by "Alan Johnson" <[EMAIL PROTECTED]>
-> RE: Underlined text on Palm V's
     by "Alan Johnson" <[EMAIL PROTECTED]>
-> Re: palm dev on linux?  (somewhat OT)
     by Ben Darnell <[EMAIL PROTECTED]>
-> Ultralite and the Palm VII
     by Aaron Clemmer <[EMAIL PROTECTED]>
-> RE: UNSCRIBE ME !!!
     by Walter Reid <[EMAIL PROTECTED]>
-> RE: Relational database structure using Palm databases
     by <[EMAIL PROTECTED]>
-> RE: Ultralite and the Palm VII
     by <[EMAIL PROTECTED]>
-> RE: Relational database structure using Palm databases
     by "Alan Johnson" <[EMAIL PROTECTED]>
-> Re: Underlined text on Palm V's
     by [EMAIL PROTECTED]
-> Re: Underlined text on Palm V's
     by Scott Johnson <[EMAIL PROTECTED]>
-> Re: where can I get a pilot (POSE) plugin for CodeWarrior from?
     by KUROSAKA Teruhiko <[EMAIL PROTECTED]>
-> Handles vs Pointers.
     by "Ronnen Belkind" <[EMAIL PROTECTED]>
-> Re: Handles vs Pointers.
     by "Neil Rhodes" <[EMAIL PROTECTED]>
-> Re: Handles vs Pointers.
     by Scott Johnson <[EMAIL PROTECTED]>
-> RE: UNSCRIBE ME !!!
     by Richard Hartman <[EMAIL PROTECTED]>
-> RE: UNSCRIBE ME !!!
     by Richard Hartman <[EMAIL PROTECTED]>
-> RE: Handles vs Pointers.
     by Richard Hartman <[EMAIL PROTECTED]>
-> RE: Handles vs Pointers.
     by Richard Hartman <[EMAIL PROTECTED]>
-> RE: UNSCRIBE ME !!!
     by Richard Hartman <[EMAIL PROTECTED]>
-> Re: Handles vs Pointers.
     by Scott Johnson <[EMAIL PROTECTED]>
-> how to create resource database?
     by Eric Siu <[EMAIL PROTECTED]>
-> Re: palm dev on linux?  (somewhat OT)
     by Tom Zerucha <[EMAIL PROTECTED]>
-> Crc16CalcBlock()
     by [EMAIL PROTECTED]
-> Re: Correct design for using DmGetNextDatabaseByTypeCreator
     by David Fedor <[EMAIL PROTECTED]>
-> RE: WAP browser
     by David Fedor <[EMAIL PROTECTED]>
-> Re: WAP browser
     by Steve Sabram <[EMAIL PROTECTED]>
-> Re: Crc16CalcBlock()
     by "Neil Rhodes" <[EMAIL PROTECTED]>
-> Re: Crc16CalcBlock()
     by Steve Lemke <[EMAIL PROTECTED]>
-> Re: where can I get a pilot (POSE) plugin for CodeWarrior from?
     by "Jun-Kiat Lam" <[EMAIL PROTECTED]>
-> RE: WAP browser
     by "Alan Johnson" <[EMAIL PROTECTED]>
-> Re: WAP browser
     by Samir Raiyani <[EMAIL PROTECTED]>
-> RE: WAP browser
     by "Alan Johnson" <[EMAIL PROTECTED]>
-> Idea for Palm
     by "Fawcett, Mitch" <[EMAIL PROTECTED]>
-> RE: [NEWBIE] Question about handling events
     by "Emry, Owen" <[EMAIL PROTECTED]>
-> Re: Palm OS Programmers Companion (Preliminary) Error ?
     by Ben Darnell <[EMAIL PROTECTED]>
-> Re: creating a read-only database
     by Michael McFarland <[EMAIL PROTECTED]>
-> RE: creating a read-only database
     by Richard Hartman <[EMAIL PROTECTED]>
-> RE: creating a read-only database
     by Richard Hartman <[EMAIL PROTECTED]>
-> Help! Frozen Palm
     by "Ronnen Belkind" <[EMAIL PROTECTED]>
-> Re: Idea for Palm
     by Steve Sabram <[EMAIL PROTECTED]>
-> RE: Palm OS Programming for Dummies
     by John Schettino <[EMAIL PROTECTED]>
-> Re: Idea for Palm (and 160x160 question)
     by "B. Flaumenhaft" <[EMAIL PROTECTED]>
-> Re: Idea for Palm (and 160x160 question)
     by Scott Johnson <[EMAIL PROTECTED]>
-> Re: list selection with drawfunc
     by Derek Kite <[EMAIL PROTECTED]>
-> any member discount for Palm Dev Conf ?
     by KUROSAKA Teruhiko <[EMAIL PROTECTED]>
-> Re: Idea for Palm (and 160x160 question)
     by "B. Flaumenhaft" <[EMAIL PROTECTED]>
-> Re: Idea for Palm (and 160x160 question)
     by "David A. Desrosiers" <[EMAIL PROTECTED]>
-> Re: Idea for Palm (and 160x160 question)
     by Scott Johnson <[EMAIL PROTECTED]>
-> start/finish for Palm Devcon?
     by Hal Mueller <[EMAIL PROTECTED]>
-> Re: creating a read-only database
     by Alan Pinstein <[EMAIL PROTECTED]>
-> RE: start/finish for Palm Devcon?
     by "Elia Freedman" <[EMAIL PROTECTED]>
-> KEEPROW and KEEPCOL
     by "Duncan, Ray, M.D." <[EMAIL PROTECTED]>
-> RE: start/finish for Palm Devcon?
     by Hal Mueller <[EMAIL PROTECTED]>


----------------------------------------------------------------------

Date: 10 Aug 1999 23:34:51 -0700
From: Jouni Mannonen <[EMAIL PROTECTED]>
Subject: Accessing global variables at reset?

I didn't think there was any part of the application that is called at
reset? For some reason, though, the emulator is warning me at reset that
my application is writing directly to Palm OS global variables.

I do not specifically try to hack around; I do not touch any sys traps and
the application should not be accessing any PalmOS globals or odd memory
ranges. So this must be an indication of a memory error of some kind, but
what kind? And why during reset?

Any clues are welcome.


Jouni
- --
Jouni Mannonen
SurRender3D.com



----------------------------------------------------------------------

Date: 10 Aug 1999 23:37:00 -0700
From: Scott Johnson <[EMAIL PROTECTED]>
Subject: Re: Relational database structure using Palm databases

Rohnny Moland wrote:
> Does someone know where I can find more information about
> relational databases on Palm?

See Oracle Lite at http://www.oracle.com/mobile .

- -slj-


----------------------------------------------------------------------

Date: 10 Aug 1999 23:38:22 -0700
From: Eric Siu <[EMAIL PROTECTED]>
Subject: build database resource

        I want to create a database of my Frm resource for my hack, any
nice guy have suggestion?
        Thanks !!!

E r i c                                 

             Electrical and Electronic Engineering
       The  Hong Kong University of Science and Technology
                URL: http://home.ust.hk/~ee_slm



----------------------------------------------------------------------

Date: 10 Aug 1999 23:45:50 -0700
From: Scott Johnson <[EMAIL PROTECTED]>
Subject: Re: Accessing global variables at reset?

Jouni Mannonen wrote:
> I didn't think there was any part of the application
> that is called at reset?

At reset your PilotMain gets called with the launch code
sysAppLaunchCmdSystemReset.  It gets called with various other launch
codes at other times too.  Review the docs on launch codes.

> For some reason, though, the emulator is warning me at reset that
> my application is writing directly to Palm OS global variables.

Make sure your PilotMain is structured to test the launch code, and to
run your GUI only on sysAppLaunchCmdNormalLaunch.  Basically you
shouldn't have _any_ code that executes before the big if/switch
statement that dispatches the launch code.

- -slj-


----------------------------------------------------------------------

Date: 11 Aug 1999 00:17:34 -0700
From: Scott Johnson <[EMAIL PROTECTED]>
Subject: Re: ExgRegisterData(kMyFileCreator, exgRegExtensionID, "vcf")
question

Mike Smith wrote:
> Example problem with the IR Exchange Manager
>
> Ideally I want to use .vcf extension and override the default
> registration. Unfortunately, I don't seem to be able to override
> the default.  [...]  If multiple apps register for the same file
> extension who get's it?

There is no documented way to do this, to "intercept" beams out of
another handheld's Address Book.  But if you have access to the OS
source code, you should be able to figure out what to hack in the beam
registration to make this work.  (At least in OS version 3.0, with no
other guarantees, of course.)

- -slj-


----------------------------------------------------------------------

Date: 11 Aug 1999 00:25:33 -0700
From: Aaron Ardiri <[EMAIL PROTECTED]>
Subject: Re: GCC optimization?

hi!

  check out multilink

  i use it on LodeRunner II..

az.
- --
Aaron Ardiri
Lecturer                       http://www.hig.se/~ardiri/
University-College i Gavle     mailto:[EMAIL PROTECTED]
SE 801 76 Gavle SWEDEN
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 352 8192           A/H: +46 26 10 16 11

On Tue, 10 Aug 1999, Jouni Mannonen wrote:

> Having just finished my latest app for Palm Pilot (Pocket SCORCH, game
> of the Scorched Earth style tank combat), space on a single 32K segment
> gets tight.
>
> Are there any special GCC command line flags (anything specifically good
> for Palm?) to make the compiler create code with less bloat? For what
> difference it makes, I'm compiling with C++ but in this one the code is
> rather simple and doesn't do virtual functions or anything tricky.
>
> If the EGCS toolkit isn't ready soon, I will migrate to CodeWarrior :)
>
>
> Jouni
> --
> Jouni Mannonen
> SurRender3D.com
>
>
>



----------------------------------------------------------------------

Date: 11 Aug 1999 00:43:11 -0700
From: Nick Hammond <[EMAIL PROTECTED]>
Subject: RE: Accessing global variables at reset?

Apps get called at reset with a sysAppLaunchCmdSystemReset Launch Code.
Sounds like your Pilot Main is responding to this code rather than just
returning.  Globals are not available and an attempt to access them could
cause this sort of error.

Nick


- -----Original Message-----
From: Jouni Mannonen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 11 August 1999 3:59
To: [EMAIL PROTECTED]
Subject: Accessing global variables at reset?


I didn't think there was any part of the application that is called at
reset? For some reason, though, the emulator is warning me at reset that
my application is writing directly to Palm OS global variables.

I do not specifically try to hack around; I do not touch any sys traps and
the application should not be accessing any PalmOS globals or odd memory
ranges. So this must be an indication of a memory error of some kind, but
what kind? And why during reset?

Any clues are welcome.


Jouni
- --
Jouni Mannonen
SurRender3D.com



----------------------------------------------------------------------

Date: 11 Aug 1999 02:02:39 -0700
From: <[EMAIL PROTECTED]>
Subject: RE: palm dev on linux?  (somewhat OT)

i wouldn't mind this info as well :)
Robert Foster

- -----Original Message-----
From: pete moss [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 11 August 1999 1:31
To: [EMAIL PROTECTED]
Subject: palm dev on linux? (somewhat OT)


i have been developing using windows and gcc up until now, but as i
really dislike windows, i am moving more fully over to a linux machine.
can anyone tell me (in private email) what things i need to do to get
gcc for palm running in linux.  what auxillary programs do i need?  does
(the very excellent!) POSE run on linux?  do i need a special version of
gcc or does the gcc that comes with redhat do the job?

please linux guys, give me some tips.  if there is a web page with some
of this info, please pass along a link.

:P



----------------------------------------------------------------------

Date: 11 Aug 1999 04:53:14 -0700
From: Bruno BORNIL <[EMAIL PROTECTED]>
Subject: UNSCRIBE ME !!!

Silvia Brunet a ecrit :

> Glenn
>
> I personally appreciate very much your work and knowledge. I haven't been
> around as
> a palm programmer for a long time. A couple of months ago I encountered 
the
> opportunity to
> start programming this kind of devices. I want to say that when I needed
> some documentation
> on palm programming a couple of months ago there was not much out there 
and
> not too helpful either, that is why
> I relied on this forum heavily for a while. I was waiting for your book 
to
> come out since May.
> Now that I have it, I wish it would've been out there when I started
> programming. However,
> I am very glad that now, there is another book out there that is as 
helpful
> and descriptive as
> yours. I really think Brian is in a mistake since, "Palm Programming, The
> Authoritative Solution"
> is a very helpful guide to palm programmers.
>
> Thanks for sharing your knowledge with the rest of us.
>
> Silvia
>
> At 01:06 PM 8/8/99 -0400, you wrote:
> >At 09:27 PM 8/6/99 -0500, you wrote:
> >>I have both books.  I haven't found the SAMs book to be too useful.  It
> >>attempts to cover every possible way to create a program for the Palm, 
ie
> >>Satellite forms, Pendragon, etc.  I found the chapter on writing an app
> >>from scratch to be to high level.  It didn't give me any more 
information
> >>from the coding from scratch perspective that the Developers Guide 
didn't
> >>already have in it.
> >
> >Brian,
> >
> >I (obviously) want to stay out of this discussion, but I want to avoid
> >confusion: you are clearly referring to "Teach Yourself Palm Programming 
in
> >24 Hours". It covers SatForms, Pendragon, etc. My book "Palm 
Programming:
> >The Authoritative Solution", which is the SAMS book that was mentioned 
in
> >the original post, is *totally* aimed at CodeWarrior C/C++ developers. 
It
> >presents chapters on many different aspects of palm programming using
> >Codewarrior and the Palm SDK with C/C++, starting with "Hello Palm", and
> >proceeding through user interface, database, serial, ir, and palm 
VII/pqa
> >development.
> >
> >I don't mind negative criticism at all, but I want to make sure there is 
no
> >confusion on this forum as to which book you are referring to (It didn't
> >help that the publisher and several of the online book vendors 
originally
> >had the titles of the two books confused)
> >
> >Looking forward to feedback (positive or negative) on the book, via this
> >forum or via personal e-mail.....
> >
> >
> >Glenn Bachmann
> >Bachmann Software and Services, LLC
> >http://www.bachmannsoftware.com
> >Software for Handheld & Wireless Computing, Windows and the Internet
> >Authors of "Palm Programming", published by Macmillan/Sams, and home of
> >Bachmann Print Manager, the only graphical printing solution for the 
Palm
> >Computing Platform
> >
> >
> >

UNSCRIBE ME !!!





----------------------------------------------------------------------

Date: 11 Aug 1999 04:54:41 -0700
From: Bruno BORNIL <[EMAIL PROTECTED]>
Subject: UNSCRIBE ME !!!

Rohnny Moland a ecrit :

> Hi,
>
> I'm wondering how to build a relational database using standard Palm
> databases. How can I join tables and work with more than one table? Can a
> database have more than one table or do
> I have to create a new database? Can I work with more than one database 
at a
> time?
> Does someone know where I can find more information about relational
> databases on Palm?
>
> Thanks,
>
> Rohnny Moland
> CatalystOne as
> email: [EMAIL PROTECTED]

UNSCRIBE ME !!!




----------------------------------------------------------------------

Date: 11 Aug 1999 04:55:00 -0700
From: Bruno BORNIL <[EMAIL PROTECTED]>
Subject: UNSCRIBE ME !!!

Robert Foster a ecrit :

> Can anyone recommend some good GNU Programming tools for Palm Application
> Development?  I'm thinking of using G++, but I'm not sure how to 
configure
> it.  Anyone got any tips?
>
> Robert Foster
> Mountain Visions P/L
> Australia
> [EMAIL PROTECTED]

UNSCRIBE ME !!!





----------------------------------------------------------------------

Date: 11 Aug 1999 04:55:18 -0700
From: Bruno BORNIL <[EMAIL PROTECTED]>
Subject: UNSCRIBE ME !!!

Eric Siu a ecrit :

> > If your custom keyboard is called from a HackMaster hack, you need to
> > remeber to OPEN your database before trying to get your resource; HM
> > doesn't leave the Hack's DB open and thus the resource isn't found by
> > searching all OPEN DB's for the resource. It's standard Hack
> > procedure to open your own DB if you need to get at a resource. What
> > I often do is have the hack open the DB in dmModeLeaveOpen mode if my
> > hack REALLY needs the speed of not having to open the DB's each time.
> > But you should use an appropriate method for your hack.
> >
>
> how to create my resource database? how to know the dbID ?
> thx !
> Eric
>
> > Alan Pinstein
> > Synergy Solutions, Inc.
> > http://www.synsolutions.com
> > 1-800-210-5293
> >
> >
> >
> > >        I write a custom keyboard to replace the system one. When the
> > >"abc" is tapped, my keyboard form cannot be loaded and says form 
resource
> > >not found. the keyboard resource and routine are in the patch program,
how
> > >to include the keyboard form resource when the keyboard routine is
called?
> > >thx
> > >
> > >Eric
> >
> >

UNSCRIBE ME !!!





----------------------------------------------------------------------

Date: 11 Aug 1999 05:14:00 -0700
From: "Blair, Matthew P." <[EMAIL PROTECTED]>
Subject: [NEWBIE] Adding Fields to a Form at runtime

Hi,

I've got a blank form that I want to add a variable number of fields to at
run-time.  The call to FldNewField is successfull, in that I receive a
pointer to a Field, but the Field is not displayed on the form.  What do I
need to do to make it appear?

Thanks,

Matt


----------------------------------------------------------------------

Date: 11 Aug 1999 05:25:21 -0700
From: "Fawcett, Mitch" <[EMAIL PROTECTED]>
Subject: RE: Palm OS Programming for Dummies

That is interesting because that is very close to my "test". The only place
where i have seen a really clear (to me anyway) explanation of how to use
the DmFindSortPosition that also ties into the use of the DmAttachRecord
function was in a Handheld Systems article written by Ken Albanowski a 
while
back.  In about 20 words he cleared up something that had me stumped for
weeks.  I have never seen anything like it mentioned in any of the books.

> -----Original Message-----
> From: Danny Epstein [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, August 10, 1999 12:28 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Palm OS Programming for Dummies
>
> I was pleasantly surprised to see so many Palm books in the bookstore, 
but
> I was disappointed with all of them. My test is to look up
> "DmAttachRecord" and see if there's an explanation of how to use it. This
> API is used by several of the PIM apps and yet it's not mentioned in any
> of the Palm programming books. I guess what I'm looking for is a "Palm
> Programming for Experts" book.
> -
> Danny Epstein     *     mailto:[EMAIL PROTECTED]
> Applied Thought Corporation     *     http://www.appliedthought.com
> Flytrap for PalmOS     *     http://www.appliedthought.com/flytrap


----------------------------------------------------------------------

Date: 11 Aug 1999 06:13:26 -0700
From: Daniel McCarty <[EMAIL PROTECTED]>
Subject: Re: [NEWBIE] Adding Fields to a Form at runtime

"Blair, Matthew P." wrote:
>
>
> Hi,
>
> I've got a blank form that I want to add a variable number of fields to 
at
> run-time.  The call to FldNewField is successfull, in that I receive a
> pointer to a Field, but the Field is not displayed on the form.  What do 
I
> need to do to make it appear?

   FldDrawField() (or FrmDrawForm once you've positioned the field.)

Regards,
Daniel.


----------------------------------------------------------------------

Date: 11 Aug 1999 07:32:32 -0700
From: "Elia Freedman" <[EMAIL PROTECTED]>
Subject: RE: list selection with drawfunc

The form should draw it when given the callback, highlight when selected,
and report back a selection number.  Check for handled = true in a
lstSelectEvent or something similar -- sounds like you are telling the
system you handled it and you didn't mean to.

Elia

- -----Original Message-----
From: Derek Kite [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 10, 1999 10:05 PM
To: [EMAIL PROTECTED]
Subject: list selection with drawfunc


I have a form with a list, where I assign a draw function, iterating
through the db to come up with a list. So far so good. Does the palm os
handle the currently selected item, and highlight it by inversing, or
does the draw function have to do that? Mine seems to not highlight the
selection.

Thanks

Derek Kite

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





----------------------------------------------------------------------

Date: 11 Aug 1999 07:42:41 -0700
From: "John Fullerton" <[EMAIL PROTECTED]>
Subject: Re: palm dev on linux?  (somewhat OT)

Check

http://www.frotz.net/pilot/

quote

"The Pilot (now 3Com PalmPilot) is a great platform to program for. Thanks 
to
the work of many dedicated people, Pilot development can be done under most
UNIX and UNIX-like systems. Other tools are available for raw assembly
development, translating Java bytecodes into 680x0 assembly, or using 
scripted
languages on the pilot. I'm providing information on using gcc to build 
Pilot
excutables."

Have a nice day
John Paul Fullerton
[EMAIL PROTECTED]




----------------------------------------------------------------------

Date: 11 Aug 1999 07:47:50 -0700
From: "Alan Johnson" <[EMAIL PROTECTED]>
Subject: RE: WAP browser

But presumably all devices from Palm Pro and up can utilize a wireless 
modem
and thus be perfect candidates for WAP.

- -- Alan

> -----Original Message-----
> From: David Fedor [mailto:[EMAIL PROTECTED]]
> Subject: Re: WAP browser
>
> No, not in 3.3.  And it isn't necessarily guaranteed that it'll
> be in every
> rom in the future; not all components necessarily appear in every rom. 
 It
> isn't always appropriate to put everything into every device, even if the
> component is part of the Palm Computing platform.  (Easy example: if a
> device doesn't have an IR port, there's no point in including the IR
> library.)
>



----------------------------------------------------------------------

Date: 11 Aug 1999 07:50:09 -0700
From: "Alan Johnson" <[EMAIL PROTECTED]>
Subject: RE: Underlined text on Palm V's

Set the field underlines attribute via code is one work around.

- --Alan

> -----Original Message-----
> From: Steve Sabram [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 10, 1999 11:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Underlined text on Palm V's
>
>
>
>
> Michael Yam wrote:
>
> > : [EMAIL PROTECTED] wrote:
> > >>I'm not sure what to do about it except maybe edit the resource
> > >> with ResEdit or something to clear the bit,
> >
> > Or develop on the Mac ;-).  This bug only occurs on the PC version of
> > the constructor, but I think Metrowerks is aware of the problem.
>
> Is there a manual fix for this yet?
>
> >
> >
> > Michael Yam
> > Y Technology, Inc.
> > http://www.ytechnology.com
> > [EMAIL PROTECTED]
>
>
>


----------------------------------------------------------------------

Date: 11 Aug 1999 08:12:08 -0700
From: Ben Darnell <[EMAIL PROTECTED]>
Subject: Re: palm dev on linux?  (somewhat OT)

On Tue, Aug 10, 1999 at 10:31:05PM -0500, pete moss wrote:
> i have been developing using windows and gcc up until now, but as i
> really dislike windows, i am moving more fully over to a linux machine.
> can anyone tell me (in private email) what things i need to do to get
> gcc for palm running in linux.  what auxillary programs do i need?  does
> (the very excellent!) POSE run on linux?  do i need a special version of
> gcc or does the gcc that comes with redhat do the job?
>

You will need a special version of gcc.  You have to install the
prc-tools, pilrc, and pose and/or xcopilot packages.  I don't know where
to find these packages for Red Hat, but for Debian you just have to say
"apt-get install prc-tools pilrc pose xcopilot" and it will find,
download, and install the packages and their dependencies.

POSE runs on Linux, but I currently prefer xcopilot for 3 reasons:
speed, stability (pose tends to crash instead of showing error
messages), and gdb.  OTOH, POSE is necessary if you want to test your
app vs a 3.1 ROM.

- -Ben
- --
Ben Darnell              [EMAIL PROTECTED]
http://www4.ncsu.edu/~bgdarnel/thoughtstream



----------------------------------------------------------------------

Date: 11 Aug 1999 08:14:22 -0700
From: Aaron Clemmer <[EMAIL PROTECTED]>
Subject: Ultralite and the Palm VII

Hi,

I was wonder what methods Ultralite supports for connecting to a database
that is on the internet, using a Palm 7.  Does it support TCP/IP?  Can I
connect to a database that is on the internet using the palm.net wireless
service?  If not, how would I?

Thanks,

Aaron Clemmer
Sentinel Software

PS - Please CC my email address in your reply



----------------------------------------------------------------------

Date: 11 Aug 1999 08:14:42 -0700
From: Walter Reid <[EMAIL PROTECTED]>
Subject: RE: UNSCRIBE ME !!!

UNSCRIBE ME !!!

I'm sure someone sent him a e-mail personally, but just incase (and due to
this seems to be a common occurrence) I'm sending a refresher course in how
to "unsubscribe".

First of all it's spelled "unsubscribe" not "unscribe" (it is somewhat
obvious that he isn't a programmer).  Next, you type "unsubscribe" in the
subject title of the mail message (with the "to:" person being
[EMAIL PROTECTED]).  Now hit the send button...

Walter Reid


----------------------------------------------------------------------

Date: 11 Aug 1999 08:24:08 -0700
From: <[EMAIL PROTECTED]>
Subject: RE: Relational database structure using Palm databases


Sybase SQL Anywhere Studio has a new technology called UltraLite which
has been available for almost a year.  We have many applications
deployed using this.  See http://www.scorecardpro.com.  It allows you
to develop finger-print (not foot-print) sized databases for
mobile/embedded devices.  On the RIM pager, our application was as
small as 35K, on the Palm OS it starts at 50K in size.

You can use any of the datatypes that ASA (Adaptive Server Anywhere)
supports:
char, varchar, long varchar
binary, varbinary, long binary,
bit, tinyint, smallint, integer, bigint (64)
date, time, datetime, timestamp
numeric, decimal
float, real

Probably the most impressive feature is the ability to exchange data
with any of the main DBMS vendors:
Sybase (ASE, ASA)
Oracle
DB2
Microsoft SQL Server

This means your applications will work against whatever backend your
clients are using, they are not locked into using Sybase.  Data can be
synchronized with the above databases via HotSync, Serial or TCPIP.

Once you have written the database portion once, and then simply write
different front ends for the different devices (CE, Palm, ...).

The code you write does not directly reference any Palm DBs, it just
uses embedded SQL to
access your tables.  You would write the SQL just like you would with
any relational database regardless witch platform you actually deploy
your application to (ie Win32, DOS, CE, Palm, RIM, Simbian EPOCH...)

Here is a couple of examples:

        EXEC SQL
                INSERT INTO ULIdentifyServer( "server_id" )
                VALUES ( :sql_server_id );

        EXEC SQL UPDATE ORDERS
                  SET "server_id"     = :sql_server_id
                WHERE "table_id"      = :sql_table_id
                  AND "order_status" <> :sql_order_status;

JOINS:
        EXEC SQL BEGIN DECLARE SECTION;
                long    sql_table_id;
                long    sql_pk;
        EXEC SQL END DECLARE SECTION;


        EXEC SQL
                SELECT kp.table_id, min( "key_id" )
                  INTO :sql_table_id, :sql_pk
                  FROM KEY_POOL kp, KEY_POOL_TABLE kpt
                 WHERE kp.table_id    = kpt.table_id
                   AND kpt.table_name = :sql_table_name
                 GROUP BY kp.table_id;

You have full access to the functions the database supports, like the
above min() function.

The file needs to be pre-processed and then compiled in with your
application.  We have a CodeWarrior 5 plugin that automates this for
you.  It will also add any files to the project that is required.
When you build your application, it will automatically pre-process the
SQL file without leaving the IDE.

Since many of our applications need performance, the projects I have
worked on, queries on tables that contain over 50,000 rows had
sub-second response times!

Evaluation copies are available:
http://www.sybase.com/products/anywhere/index.html

I am happy to answer any questions people might have.

We host a newsgroup for UltraLite specific questions:
sybase.public.sqlanywhere.ultralite


David Fishburn
Mobile and Embedded Computing (MEC) Division
Sybase

> -----Original Message-----
> From: Rohnny Moland [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 11, 1999 12:52 AM
> To: [EMAIL PROTECTED]
> Subject: Relational database structure using Palm databases
>
>
>
>
> Hi,
>
> I'm wondering how to build a relational database using standard Palm
> databases. How can I join tables and work with more than one
> table? Can a
> database have more than one table or do
> I have to create a new database? Can I work with more than
> one database at
> a
> time?
> Does someone know where I can find more information about relational
> databases on Palm?
>
> Thanks,
>
> Rohnny Moland
> CatalystOne as
> email: [EMAIL PROTECTED]
>
>



----------------------------------------------------------------------

Date: 11 Aug 1999 08:36:54 -0700
From: <[EMAIL PROTECTED]>
Subject: RE: Ultralite and the Palm VII


Let me try to clarify.

UltraLite IS a database on the palm.  It is NOT a client that will
connect
to a database on some other device.

Having said that, it has the ability to exchange data (synchronize)
with the
major RDBMS out there including:
Sybase
Oracle
DB2
Microsoft

It does this via HotSync, Serial or TCPIP.

It does not yet support HTTP, but this is planned relatively soon.  I
believe with the Palm 7s, it does not support TCPIP over the wireless
portion.  If I am wrong on this point, can someone on this newsgroup
correct me.

You can still use TCPIP if you are in the cradle.

We are using Novatel's Minstrel devices.  This is a cradle for the
palm that
allows TCPIP communication over cell lines.  We have been using these
on
golf courses for truely wireless synchronization and real time
updates.

Does this help?

I have also posted this to our newsgroup we host.  Please ask as many
questions there as you like.  You can also get some other customer
feedback.
sybase.public.sqlanywhere.ultralite

David Fishburn
Mobile and Embedded Computing (MEC) Division
Sybase

> -----Original Message-----
> From: Aaron Clemmer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 11, 1999 11:18 AM
> To: [EMAIL PROTECTED]
> Subject: Ultralite and the Palm VII
>
>
>
>
> Hi,
>
> I was wonder what methods Ultralite supports for connecting
> to a database
> that is on the internet, using a Palm 7.  Does it support
> TCP/IP?  Can I
> connect to a database that is on the internet using the
> palm.net wireless
> service?  If not, how would I?
>
> Thanks,
>
> Aaron Clemmer
> Sentinel Software
>
> PS - Please CC my email address in your reply
>
>



----------------------------------------------------------------------

Date: 11 Aug 1999 08:46:54 -0700
From: "Alan Johnson" <[EMAIL PROTECTED]>
Subject: RE: Relational database structure using Palm databases

However, if I am not mistaken, one must purchase SQL Anywhere Studio. 
That's
a big package to buy for a small component.

- --Alan

> -----Original Message-----
> From: David Fishburn [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 11, 1999 10:18 AM
> To: 'Rohnny Moland'
> Cc: [EMAIL PROTECTED]
> Subject: RE: Relational database structure using Palm databases
>
>
>
> Sybase SQL Anywhere Studio has a new technology called UltraLite which
> has been available for almost a year.  We have many applications
> deployed using this.  See http://www.scorecardpro.com.  It allows you
> to develop finger-print (not foot-print) sized databases for
> mobile/embedded devices.  On the RIM pager, our application was as
> small as 35K, on the Palm OS it starts at 50K in size.



----------------------------------------------------------------------

Date: 11 Aug 1999 08:51:21 -0700
From: [EMAIL PROTECTED]
Subject: Re: Underlined text on Palm V's



>> Or develop on the Mac ;-).  This bug only occurs on the PC version of
>> the constructor, but I think Metrowerks is aware of the problem.
>
> Is there a manual fix for this yet?

Well, you could clear he bit manually in your code... but then your code is
dependent on the field structure.  Not too bad, but certainly
less-than-optimal.
:-/  There may be a nice easy clean way to do it, but I'm not aware of one.

Jesse





----------------------------------------------------------------------

Date: 11 Aug 1999 09:04:58 -0700
From: Scott Johnson <[EMAIL PROTECTED]>
Subject: Re: Underlined text on Palm V's

[EMAIL PROTECTED] wrote:
> Well, you could clear he bit manually in your code... There may be
> a nice easy clean way to do it, but I'm not aware of one.

The FldSetAttributes API can set the underline bits cleanly.

Our workaround to this mess was to add code in only one place, in the
event loop.  Before dispatching the frmOpen event to its normal handler,
we run code to fix all field underlines in the current form.  By putting
this code at the event loop, you don't need to add any other code to
each individual form.

- -slj-


----------------------------------------------------------------------

Date: 11 Aug 1999 09:05:20 -0700
From: KUROSAKA Teruhiko <[EMAIL PROTECTED]>
Subject: Re: where can I get a pilot (POSE) plugin for CodeWarrior from?

Jun-Kiat,
>which version of the emulator you are running?

I use POSE 2.1d26 that I downloaded from the palm computing web site
(forgot the exact URL) last month.  I believe this is the latest version.

Here's what Docs/Guide.html says:

]3.2 Source Level Debugging
]
]The Palm OS Emulator supports an interface that external debuggers can use
in order to debug
]running application. Currently, Metrowerks has a beta version of a
PilotPlugin that can be used
]to develop and debug Palm OS application. To use this plug-in:
]
]  1.Remove the original plug-in from its current location ("...: 
Metrowerks
]    CodeWarrior:(Helper Apps): Debugger Plugins:" on your Macintosh or
]    "...\CodeWarrior\bin\Plugins\Debugger\" on your PC). Copy the new
plug-in to the old
]    plug-in's original location. Note: merely renaming the old plug-in is
not guaranteed to
]   make MWDebug ignore it.
] 2.Start the emulator and wait for the splash screen to be replace by the
General Preference
]    panel.
]  3.Launch MWDebug.
]  4.Select "Preferences" from the "Edit" menu.
]  5.Select the "Palm OS" tab in the Preferences window.
]  6.Select a Target of "Palm OS Emulator".

With the existing PilotPlugin, I don't see "Palm OS Emulator" Target 
selection
inside the the "Palm Pilot" tab (I don't see "Palm OS" tab) .  I can only
choose
between Printer and Modem port.

What am I missing ?
- -kuro


----------------------------------------------------------------------

Date: 11 Aug 1999 09:22:44 -0700
From: "Ronnen Belkind" <[EMAIL PROTECTED]>
Subject: Handles vs Pointers.



Can someone explain this code to me.  Its taken from the MailLookup.c
    CallAddressApp function.

  /* some code */

params.title = MemHandleLock (DmGetResource (strRsc, titleStrID));
params.pasteButtonText = MemHandleLock (DmGetResource (strRsc,
                         mailLookupAddStrID));
params.formatStringP = MemHandleLock (DmGetResource (strRsc,
                         mailLookupFormatStrID));

 /* some code */

MemPtrUnlock (params.title);
MemPtrUnlock (params.pasteButtonText);
MemPtrUnlock (params.formatStringP);


Why do they lock the handle, but unlock the pointer.  Why not call
MemHandleUnlock?

Thanks,
Ronnen




----------------------------------------------------------------------

Date: 11 Aug 1999 09:33:44 -0700
From: "Neil Rhodes" <[EMAIL PROTECTED]>
Subject: Re: Handles vs Pointers.

> Can someone explain this code to me.  Its taken from the MailLookup.c
>
>   /* some code */
>
> params.formatStringP = MemHandleLock (DmGetResource (strRsc,
>                          mailLookupFormatStrID));
>
>  /* some code */
>
> MemPtrUnlock (params.formatStringP);
>
>
> Why do they lock the handle, but unlock the pointer.  Why not call
> MemHandleUnlock?
>

Because MemHandleUnlock ends up calling MemPtrUnlock.  Given that they
called DmGetResource, and didn't save it in a handle, they'd have to either
save it in a local variable:
    h = DmGetResource(...);
    params.formatStringP = MemHandleLock(h);
    ...
    MemHandleUnlock(h);

Or, they'd have to call DmGetResource again.

Since MemHandleUnlock calls MemPtrUnlock, MemPtrUnlock is marginally faster
(I believe Bob Ebert has recommended calling it for that reason).

OTOH, my choice is to always call MemHandleUnlock, since I find it easier 
to
verify my MemHandleLocks have a matching MemHandleUnlock while perusing my
code.

Neil
- --
Neil Rhodes
Calliope Enterprises, Inc.
1328 Clock Avenue
Redlands, CA  92374
(909) 793-5995     [EMAIL PROTECTED]      fax: (909) 793-2545


----------------------------------------------------------------------

Date: 11 Aug 1999 09:35:55 -0700
From: Scott Johnson <[EMAIL PROTECTED]>
Subject: Re: Handles vs Pointers.

Ronnen Belkind wrote:
> Can someone explain this code to me.
>
> params.title = MemHandleLock (DmGetResource (strRsc, titleStrID));
>    /* ... */
> MemPtrUnlock (params.title);
>
> Why do they lock the handle, but unlock the pointer.  Why not call
> MemHandleUnlock?

You can use either MemHandleUnlock or MemPtrUnlock, whichever is more
convenient.  They accomplish the same thing.  In this particular case,
the handle in question (returned by DmGetResource) is not being kept
around in any local variable, so there's no way to use MemHandleUnlock.
You _could_ keep the handle around in a local variable to pass to
MemHandleUnlock, but there's no point since MemPtrUnlock can be used
instead as shown.  This is a common pattern you'll get used to.

- -slj-


----------------------------------------------------------------------

Date: 11 Aug 1999 09:36:15 -0700
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: UNSCRIBE ME !!!



> -----Original Message-----
> From: Bruno BORNIL [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 11, 1999 4:46 AM
> To: [EMAIL PROTECTED]
> Subject: UNSCRIBE ME !!!
>
>
> Robert Foster a ecrit :
>
> > Can anyone recommend some good GNU Programming tools for
> Palm Application
> > Development?  I'm thinking of using G++, but I'm not sure
> how to configure
> > it.  Anyone got any tips?
> >
> > Robert Foster
> > Mountain Visions P/L
> > Australia
> > [EMAIL PROTECTED]
>
> UNSCRIBE ME !!!
>
>
>
>

I'm afraid none of the readers of the list can do
that for you.

Here is a copy of the monthly help file, which has
instructions on how you can do this for yourself.

- ---------------------

MAILING LIST HELP FILE

Please read the list guidelines (see below) before engaging in discussion.
In addition, familiarize yourself with how the list operates, especially if 
you've never participated in an Internet email discussion group before.
It's a good idea to save this message somewhere so you know how to
unsubscribe.

When dealing with a listserver, there are two types of messages, namely,
COMMANDS and POSTS. Unlike traditional listservers which require the
use of numerous email addresses, we have simplified the process by
allowing for both COMMANDS and POSTS to be sent to the same address.

COMMANDS

These e-mail messages are intended to cause some action to occur, such as
subscribing the FROM address to a mailing list.  Commands are usually one 
or
two word phrases which should be entered in the SUBJECT field of the
message.
Any other fields are ignored... it doesn't matter what you put in them.

The following commands are accepted:

subscribe
    adds your e-mail address to the list of subscribers
    you will then receive all posts
    you are then allowed to post from that address

unsubscribe
    removes your e-mail address from the list of subscribers
    you will no longer receive any posts
    you are no longer allowed to post

subscribe digest
    switches you to digest mode
    you will then receive one message per day which lists all posts
    to switch back, send a "subscribe" command

digests
        returns a list of digests for the past 30 days along with
        instructions for retreiving them via e-mail

help
    this message will be returned


POSTS

Email messages which don't match any commands are distributed to everyone 
on
the list.
Every time you post a message, hundreds of other people on the list receive
a
copy, just as if you sent it to them personally.  As a member of the list,
you
will receive a copy of every message anyone else sends.  On this list, only
members of the list can post to it.



To correspond directly with a person, write to
[EMAIL PROTECTED]

- ---------------------

Hope this helps...




- --
- -Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


----------------------------------------------------------------------

Date: 11 Aug 1999 09:39:58 -0700
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: UNSCRIBE ME !!!

And depending upon the intelligence of the parse,
adding the unnecessary "ME!!!" could very well
negate the command (possibly, possibly not, but
better safe than sorry, eh?).

That is to say, send mail to [EMAIL PROTECTED]
with the subject of "unsubscribe", not "unsubscribe me!!!".

- --
- -Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


> -----Original Message-----
> From: Walter Reid [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 11, 1999 8:04 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: UNSCRIBE ME !!!
>
>
> UNSCRIBE ME !!!
>
> I'm sure someone sent him a e-mail personally, but just
> incase (and due to
> this seems to be a common occurrence) I'm sending a refresher
> course in how
> to "unsubscribe".
>
> First of all it's spelled "unsubscribe" not "unscribe" (it is somewhat
> obvious that he isn't a programmer).  Next, you type
> "unsubscribe" in the
> subject title of the mail message (with the "to:" person being
> [EMAIL PROTECTED]).  Now hit the send button...
>
> Walter Reid
>


----------------------------------------------------------------------

Date: 11 Aug 1999 09:47:33 -0700
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: Handles vs Pointers.

It's a style thing.  Calling MemHandleUnlock()
with the original handle or MemPtrUnlock() with
the pointer returned by the original MemHandleLock()
call accomplishes the same thing.

If you have the original handle available I prefer
to call MemHandleUnlock() due to the symmetry.  There
are, however, situations where this may not be possible.
For example, a routine locks the handle & passes resulting
pointer to another routine to do something with.  If this
second routine wanted to unlock the memory, it would have
to call MemPtrUnlock().   The downside of this type of
assumption on the part of the subroutine is: what if I pass
it a pointer that's been allocated on the stack instead
of the heap?

For myself, I prefer to place the responsibility for locking
& unlocking at the same level -- if you locked something, you
are also responsible for unlocking it, not passing that
responsibility to some other routine.  If you have symmetry in
your memory handling the possibility of memory leaks or invalid
accesses is lessened.  I realize that there are situations where
this is not possible, but in most cases it is.

In the end though, it all comes down to style & personal
preference whether you unlock the pointer or the handle.

- --
- -Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


> -----Original Message-----
> From: Ronnen Belkind [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 11, 1999 9:17 AM
> To: [EMAIL PROTECTED]
> Subject: Handles vs Pointers.
>
>
>
>
> Can someone explain this code to me.  Its taken from the MailLookup.c
>     CallAddressApp function.
>
>   /* some code */
>
> params.title = MemHandleLock (DmGetResource (strRsc, titleStrID));
> params.pasteButtonText = MemHandleLock (DmGetResource (strRsc,
>                          mailLookupAddStrID));
> params.formatStringP = MemHandleLock (DmGetResource (strRsc,
>                          mailLookupFormatStrID));
>
>  /* some code */
>
> MemPtrUnlock (params.title);
> MemPtrUnlock (params.pasteButtonText);
> MemPtrUnlock (params.formatStringP);
>
>
> Why do they lock the handle, but unlock the pointer.  Why not call
> MemHandleUnlock?
>
> Thanks,
> Ronnen
>
>
>


----------------------------------------------------------------------

Date: 11 Aug 1999 09:47:52 -0700
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: Handles vs Pointers.

It's a style thing.  Calling MemHandleUnlock()
with the original handle or MemPtrUnlock() with
the pointer returned by the original MemHandleLock()
call accomplishes the same thing.

If you have the original handle available I prefer
to call MemHandleUnlock() due to the symmetry.  There
are, however, situations where this may not be possible.
For example, a routine locks the handle & passes resulting
pointer to another routine to do something with.  If this
second routine wanted to unlock the memory, it would have
to call MemPtrUnlock().   The downside of this type of
assumption on the part of the subroutine is: what if I pass
it a pointer that's been allocated on the stack instead
of the heap?

For myself, I prefer to place the responsibility for locking
& unlocking at the same level -- if you locked something, you
are also responsible for unlocking it, not passing that
responsibility to some other routine.  If you have symmetry in
your memory handling the possibility of memory leaks or invalid
accesses is lessened.  I realize that there are situations where
this is not possible, but in most cases it is.

In the end though, it all comes down to style & personal
preference whether you unlock the pointer or the handle.

- --
- -Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


> -----Original Message-----
> From: Ronnen Belkind [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 11, 1999 9:17 AM
> To: [EMAIL PROTECTED]
> Subject: Handles vs Pointers.
>
>
>
>
> Can someone explain this code to me.  Its taken from the MailLookup.c
>     CallAddressApp function.
>
>   /* some code */
>
> params.title = MemHandleLock (DmGetResource (strRsc, titleStrID));
> params.pasteButtonText = MemHandleLock (DmGetResource (strRsc,
>                          mailLookupAddStrID));
> params.formatStringP = MemHandleLock (DmGetResource (strRsc,
>                          mailLookupFormatStrID));
>
>  /* some code */
>
> MemPtrUnlock (params.title);
> MemPtrUnlock (params.pasteButtonText);
> MemPtrUnlock (params.formatStringP);
>
>
> Why do they lock the handle, but unlock the pointer.  Why not call
> MemHandleUnlock?
>
> Thanks,
> Ronnen
>
>
>


----------------------------------------------------------------------

Date: 11 Aug 1999 09:49:27 -0700
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: UNSCRIBE ME !!!

(sorry guys, I though I'd pasted his address in
when I sent the help file...)

- --
- -Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


----------------------------------------------------------------------

Date: 11 Aug 1999 09:54:41 -0700
From: Scott Johnson <[EMAIL PROTECTED]>
Subject: Re: Handles vs Pointers.

Neil Rhodes wrote:
> my choice is to always call MemHandleUnlock, since I find it easier
> to verify my MemHandleLocks have a matching MemHandleUnlock while
> perusing my code.

This is where a little C++ can really help.  Instead of manually coding
lock/unlock pairs, you can have a helper class that does this for you
automatically via its constructor and destructor, at least for locks and
unlocks that happen within the same scope.  The same can be done for
other paired operations like getting/releasing records.

See Stroustrup 3rd Ed. section 14.4 on "Resource Management".

- -slj-


----------------------------------------------------------------------

Date: 11 Aug 1999 10:01:28 -0700
From: Eric Siu <[EMAIL PROTECTED]>
Subject: how to create resource database?

hi all,
         I want to create a database of my Frm resource for my hack, can
any good guy tell me the way to do that?

E r i c                                         

Electrical and Electronic Engineering
The  Hong Kong University of Science and Technology
URL: http://home.ust.hk/~ee_slm



----------------------------------------------------------------------

Date: 11 Aug 1999 10:36:50 -0700
From: Tom Zerucha <[EMAIL PROTECTED]>
Subject: Re: palm dev on linux?  (somewhat OT)

On Tue, 10 Aug 1999, pete moss wrote:

> i have been developing using windows and gcc up until now, but as i
> really dislike windows, i am moving more fully over to a linux machine.
> can anyone tell me (in private email) what things i need to do to get
> gcc for palm running in linux.  what auxillary programs do i need?  does
> (the very excellent!) POSE run on linux?  do i need a special version of
> gcc or does the gcc that comes with redhat do the job?
>
> please linux guys, give me some tips.  if there is a web page with some
> of this info, please pass along a link.

Since I have only been doing Linux, I think I can help.

The Linux version of CoPilot (which preceeded POSER) is at
http://xcopilot.cuspy.com/, however the current POSER beta can be compiled
for Linux if you install some extra packages.  www.freshmeat.net is a good
place to find updates and bleeding edge packages.

I think Redhat 6.0 includes pilot-link and the development libraries for
Linux as an optional package.

http://www.developer.com/directories/pages/dir.palm.html (where roadcoders
moved to) has a number of links under SDK.

I remember I had to copy the PalmOS 3.0 (or 3.1) SDK includes into the
tree as the original was only for 2.0, but that is probably updated by
now.

A large FAQ is at:

http://www.geocities.com/SiliconValley/Horizon/5249/GNU_Pilot_SDK.txt

Which should point you to the rest of the resources.

ftp://ryeham.ee.ryerson.ca/pub/PalmOS/

has current versions of pilot-link and m68k-palmos-coff tools for linux.

The regular pilrc page has source you can compile for Linux.  I don't know
if the binaries are included with the above.




----------------------------------------------------------------------

Date: 11 Aug 1999 10:41:10 -0700
From: [EMAIL PROTECTED]
Subject: Crc16CalcBlock()

Can someone elaborate on the last parameter of this function?
In the doc it is   "crc     Seed crc value". What purpose does
this serve, and how does it need to be set to get the proper
crc. Different values give different end results.

Thank You,
Phil Lachmann




----------------------------------------------------------------------

Date: 11 Aug 1999 10:44:33 -0700
From: David Fedor <[EMAIL PROTECTED]>
Subject: Re: Correct design for using DmGetNextDatabaseByTypeCreator

FYI, there were significant changes to the implementation of
DmGetNextDatabaseByTypeCreator in Palm OS 3.1 (and possibly in 3.2 as well,
I don't remember for sure).  The performance characteristics will be quite
different, so testing your code each of 3.0, 3.1 and 3.2 would make sense.

(The API behavior shouldn't be any different between them, though, except
for the behavior of setting the 'onlyLatest' flag to true in some
circumstances.)

- -David Fedor
Palm Developer Support




----------------------------------------------------------------------

Date: 11 Aug 1999 11:15:48 -0700
From: David Fedor <[EMAIL PROTECTED]>
Subject: RE: WAP browser

>But presumably all devices from Palm Pro and up can utilize a wireless
>modem and thus be perfect candidates for WAP.

Well, yes, but that doesn't mean it should be in the rom of every device.
The "kitchen sink" philosophy leads to huge rom images, increased testing
and development time for the OS releases, complexity for the users, and so
forth (for examples, see our competitors).  Not to mention higher costs and
physical manufacturing issues due to requiring larger rom chips.

Presumably all devices could be hooked up to a scanner or printer through
the serial port, but that doesn't mean that we should put all the necessary
libraries and drivers into the rom.  That's why there's ram, to load on
apps and such from third parties :-)

There's a balance between putting in certain functionality to be available
across the board, and the drawbacks such as those listed above.  The simple
answer of "throw it all in" isn't always wise in the long term.

- -David Fedor
Palm Developer Support




----------------------------------------------------------------------

Date: 11 Aug 1999 11:22:02 -0700
From: Steve Sabram <[EMAIL PROTECTED]>
Subject: Re: WAP browser



David Fedor wrote:

> >But presumably all devices from Palm Pro and up can utilize a wireless
> >modem and thus be perfect candidates for WAP.
>
> Well, yes, but that doesn't mean it should be in the rom of every device.
> The "kitchen sink" philosophy leads to huge rom images, increased testing
> and development time for the OS releases, complexity for the users, and 
so
> forth (for examples, see our competitors).  Not to mention higher costs 
and
> physical manufacturing issues due to requiring larger rom chips.

Please note that this was done on the Newton and was one of the things that
killed it.  You need it that bad, put it in a shared library.  A WAP shared
library would be an excellent implementation of this stack on the Palm.

Steve



----------------------------------------------------------------------

Date: 11 Aug 1999 11:24:50 -0700
From: "Neil Rhodes" <[EMAIL PROTECTED]>
Subject: Re: Crc16CalcBlock()

Phil,

CRCs are usually seeded with either 0xffff, or 0.  If you're trying to 
match
a CRC someone else has generated, you'll need to use the same seed they do.

A Painless Guide to CRC Error Detection Algorithms has a good discussion of
CRCs, including seeds < http://www.ross.net/crc/crcpaper.html>.

> Can someone elaborate on the last parameter of this function?
> In the doc it is   "crc     Seed crc value". What purpose does
> this serve, and how does it need to be set to get the proper
> crc. Different values give different end results.
>
> Thank You,
> Phil Lachmann
>


- --
Neil Rhodes
Calliope Enterprises, Inc.
1328 Clock Avenue
Redlands, CA  92374
(909) 793-5995     [EMAIL PROTECTED]      fax: (909) 793-2545


----------------------------------------------------------------------

Date: 11 Aug 1999 11:27:39 -0700
From: Steve Lemke <[EMAIL PROTECTED]>
Subject: Re: Crc16CalcBlock()

At 1:35 PM -0400 on 8/11/99, [EMAIL PROTECTED] wrote:

>Can someone elaborate on the last parameter of this function?
>In the doc it is   "crc     Seed crc value". What purpose does
>this serve, and how does it need to be set to get the proper
>crc. Different values give different end results.

The first time you call Crc16CalcBlock, pass zero.

If you need to call it multiple times (because you want to CRC more
than 64K of data, or because you want to do other processing during a
long computation), then you can call it repeatedly, passing in the
return value from the previous call (assuming you set bufP += count
before calling again).

Hope this helps,
- --Steve


----------------------------------------------------------------------

Date: 11 Aug 1999 11:29:52 -0700
From: "Jun-Kiat Lam" <[EMAIL PROTECTED]>
Subject: Re: where can I get a pilot (POSE) plugin for CodeWarrior from?

My understanding (from the earlier emails we exchanged) is that you have a
copy of CodeWarrior Lite. This version of the tools only support debugging
to the device. The latest full releases of CodeWarrior now all support
source level debugging on the emulator, although some updates may be needed
to keep up with the latest versions of the emulator. So basically, you 
don't
need to download any plugin just debug to the emulator, it's built in now.

Hope this helps.

Jun-Kiat Lam
Metrowerks Technical Support

- ----- Original Message -----
From: KUROSAKA Teruhiko <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 11, 1999 10:56 AM
Subject: Re: where can I get a pilot (POSE) plugin for CodeWarrior from?


> Jun-Kiat,
> >which version of the emulator you are running?
>
> I use POSE 2.1d26 that I downloaded from the palm computing web site
> (forgot the exact URL) last month.  I believe this is the latest version.
>
> Here's what Docs/Guide.html says:
>
> ]3.2 Source Level Debugging
> ]
> ]The Palm OS Emulator supports an interface that external debuggers can
use
> in order to debug
> ]running application. Currently, Metrowerks has a beta version of a
> PilotPlugin that can be used
> ]to develop and debug Palm OS application. To use this plug-in:
> ]
> ]  1.Remove the original plug-in from its current location ("...:
Metrowerks
> ]    CodeWarrior:(Helper Apps): Debugger Plugins:" on your Macintosh or
> ]    "...\CodeWarrior\bin\Plugins\Debugger\" on your PC). Copy the new
> plug-in to the old
> ]    plug-in's original location. Note: merely renaming the old plug-in 
is
> not guaranteed to
> ]   make MWDebug ignore it.
> ] 2.Start the emulator and wait for the splash screen to be replace by 
the
> General Preference
> ]    panel.
> ]  3.Launch MWDebug.
> ]  4.Select "Preferences" from the "Edit" menu.
> ]  5.Select the "Palm OS" tab in the Preferences window.
> ]  6.Select a Target of "Palm OS Emulator".
>
> With the existing PilotPlugin, I don't see "Palm OS Emulator" Target
selection
> inside the the "Palm Pilot" tab (I don't see "Palm OS" tab) .  I can only
> choose
> between Printer and Modem port.
>
> What am I missing ?
> -kuro
>



----------------------------------------------------------------------

Date: 11 Aug 1999 11:37:01 -0700
From: "Alan Johnson" <[EMAIL PROTECTED]>
Subject: RE: WAP browser

I whole heartedly agree. Because if Palm wasn't going to do it, my company
was.

- --Alan

> -----Original Message-----
> From: Steve Sabram [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 11, 1999 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: WAP browser
>
> Please note that this was done on the Newton and was one of the
> things that
> killed it.  You need it that bad, put it in a shared library.  A
> WAP shared
> library would be an excellent implementation of this stack on the Palm.
>
> Steve
>
>
>



----------------------------------------------------------------------

Date: 11 Aug 1999 11:39:18 -0700
From: Samir Raiyani <[EMAIL PROTECTED]>
Subject: Re: WAP browser


I have a question then: is the PalmNetLib in the ROM or is it a shared
library?  I am referring here to the special support provided by Palm VII
for internet connectivity - compression/decompression, ECC etc - are these
in a shared library?

Also, can there be a shared library sitting inside the ROM, so that it
only gets loaded when necessary?  Does the INetLib not work that way?

Thanks,
Samir


David Fedor writes:
>
> >But presumably all devices from Palm Pro and up can utilize a wireless
> >modem and thus be perfect candidates for WAP.
>
> Well, yes, but that doesn't mean it should be in the rom of every device.
> The "kitchen sink" philosophy leads to huge rom images, increased testing
> and development time for the OS releases, complexity for the users, and 
so
> forth (for examples, see our competitors).  Not to mention higher costs 
and
> physical manufacturing issues due to requiring larger rom chips.
>
> Presumably all devices could be hooked up to a scanner or printer through
> the serial port, but that doesn't mean that we should put all the 
necessary
> libraries and drivers into the rom.  That's why there's ram, to load on
> apps and such from third parties :-)
>
> There's a balance between putting in certain functionality to be 
available
> across the board, and the drawbacks such as those listed above.  The 
simple
> answer of "throw it all in" isn't always wise in the long term.
>
> -David Fedor
> Palm Developer Support
>
>
>
>



----------------------------------------------------------------------

Date: 11 Aug 1999 11:48:21 -0700
From: "Alan Johnson" <[EMAIL PROTECTED]>
Subject: RE: WAP browser

Point taken, David. But sometimes developing products that take advantage 
of
these libraries and drivers is easier than figuring out how to get them to
customers who may or may not have them. True we don't want to overload the
device with features that most may not use. On the other hand, it would be 
a
shame to be able to take advantage of them on only 1 or 2 devices when such
a feature, like WAP, could be brought to many more. Presumable, Palm is
licensing Planet.com's on an unlimited basis. Otherwise, to distribute the
necessary libraries will become difficult.

- --Alan

> -----Original Message-----
> From: David Fedor [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 11, 1999 12:59 PM
> To: [EMAIL PROTECTED]
> Subject: RE: WAP browser
>
>
> >But presumably all devices from Palm Pro and up can utilize a wireless
> >modem and thus be perfect candidates for WAP.
>
> Well, yes, but that doesn't mean it should be in the rom of every device.
> The "kitchen sink" philosophy leads to huge rom images, increased testing
> and development time for the OS releases, complexity for the users, and 
so
> forth (for examples, see our competitors).  Not to mention higher
> costs and
> physical manufacturing issues due to requiring larger rom chips.
>
> Presumably all devices could be hooked up to a scanner or printer through
> the serial port, but that doesn't mean that we should put all the
> necessary
> libraries and drivers into the rom.  That's why there's ram, to load on
> apps and such from third parties :-)
>
> There's a balance between putting in certain functionality to be 
available
> across the board, and the drawbacks such as those listed above.
> The simple
> answer of "throw it all in" isn't always wise in the long term.
>
> -David Fedor
> Palm Developer Support
>
>
>
>



----------------------------------------------------------------------

Date: 11 Aug 1999 12:21:20 -0700
From: "Fawcett, Mitch" <[EMAIL PROTECTED]>
Subject: Idea for Palm

I have several Palm's and mine all have one thing in common.  They all have
a clam-shell cover that flips up when I'm working.  I've been staring at
this valuable piece of real estate for months (the inside of the clam-shell
that is) and I've started thinking what a great idea it would be if there
was a second display screen built into it. Especially for P7 apps.  I could
use the lower screen for navigation, sending requests etc, and the upper
screen would display results.  C'mon...somebody build one!!  I want one!


----------------------------------------------------------------------

Date: 11 Aug 1999 12:48:18 -0700
From: "Emry, Owen" <[EMAIL PROTECTED]>
Subject: RE: [NEWBIE] Question about handling events

One really slick feature Palm could have built into the OS would be to have
the OS use the callback to draw the selected item next to the pop trigger
after a selection from a list drawn by callback.

> Scott Johnson [SMTP:[EMAIL PROTECTED]] wrote:
>
> There is one gotcha: if you set up the list to use a draw callback
> function and to not contain an actual array of strings, then the default
> trigger setting code will crash, because it always assumes the array of
> string pointers is present.  In this case, you do need to implement the
> trigger setting logic yourself in your popSelect handler.  (This isn't
> your situation anyway, but file this hint away!)
>
> -slj-


----------------------------------------------------------------------

Date: 11 Aug 1999 14:16:18 -0700
From: Ben Darnell <[EMAIL PROTECTED]>
Subject: Re: Palm OS Programmers Companion (Preliminary) Error ?

On Mon, Aug 02, 1999 at 05:43:57PM +0000, [EMAIL PROTECTED] wrote:
> My testing reveals that the documentation is wrong.
> But I which it wasn't.  Is there something I missed ?
>
> >From Page 59-60 of the Palm OS Programmers Companion (Preliminary)
> --------------------------------------------------------------------
> If your application is called to process a launch code, it is called as a
> subroutine from the current user-interface application. Use the
> routine SysCurAppDatabase to get the card number and database
> ID of the currently running user-interface application. This routine
> doesn't return your application's database ID but the database ID of
> the application that initiated the launch code.
> --------------------------------------------------------------------
> Is this a documentation error ?
> When I call SysCurAppDatabase while in an sysAppLaunchCmdAlarmTriggered
> launch.  I always get my own application's database ID NOT the
> ID of the currently running GUI application.
>
> This is VERY unfortunate because the GUI apps DB id is exactly what I
> need.
>

I now find myself in the same situation. Is there any way to find out
the currently running GUI app?  I don't see any system function that
could be used for this, but I hope I'm just overlooking it.

- -Ben
- --
Ben Darnell              [EMAIL PROTECTED]
http://www4.ncsu.edu/~bgdarnel/thoughtstream



----------------------------------------------------------------------

Date: 11 Aug 1999 14:36:21 -0700
From: Michael McFarland <[EMAIL PROTECTED]>
Subject: Re: creating a read-only database

      My main problem here isn't really the creation of a read-only
database, it's the question of how to add data and *then* have it be
read-only.  It seems like some programs can be deleted and have their
database remain, but I haven't found any way to do this with mine.  When I
try to replace my editing version of the executable program with a
non-editing version, the database always gets removed in the process.  So
how do I go about adding data to a database that will be accessed in a
read-only fashion?

     Michael

>From Alan:
>There is a db header attribute for readOnly. This prevents the DB
>from being opened in dmModeReadWrite. You can programatically set
>this bit by using the Dm[Get | Set]DatabaseInfo() calls.

>***** Important note *****
>You CANNOT successfully beam databases with the readONly bit set. We
>ran into this problem while writing a beaming application. a quick
>look at the sources and we realized that this is a due to a bug in
>the Exchange Manager in the way it handles databases received with
>ExgDBWrite(). I have sent a bug report in, so maybe in a future OS it
>will be (has been?) fixed.

>>    This may be a silly question, but how do I go about creating a
database
>>that is readable, but not editable by a palm app (like a dictionary or
>>online manual program)?  I'd like to first use it to create the database,
>>then modify the source code so that the app only reads, then recompile.
>> However, to load the new version of the app, I have to delete the old
>>version, and this deletes the database.  Any tips on how to get around
>>this?
>>
>>    Michael


----------------------------------------------------------------------

Date: 11 Aug 1999 15:41:27 -0700
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: creating a read-only database


> -----Original Message-----
> From: Michael McFarland [mailto:[EMAIL PROTECTED]]
>
>
>       My main problem here isn't really the creation of a read-only
> database, it's the question of how to add data and *then* have it be
> read-only.  It seems like some programs can be deleted and have their
> database remain, but I haven't found any way to do this with
> mine.  When I
> try to replace my editing version of the executable program with a
> non-editing version, the database always gets removed in the
> process.

2) When deleting an application, all databases that share the
same creator ID are removed.

2) Apps can open, read & write to -any- database, even those
which have different creator IDs.

Putting 2 & 2 together we get this idea: give your "db initializer"
app a different creator ID than that used by the database it creates.
(The database can, and probably shoud, use the same creator ID that
the "read only" version has.)

- --
- -Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!



----------------------------------------------------------------------

Date: 11 Aug 1999 15:42:17 -0700
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: creating a read-only database


> -----Original Message-----
> From: Michael McFarland [mailto:[EMAIL PROTECTED]]
>
>
>       My main problem here isn't really the creation of a read-only
> database, it's the question of how to add data and *then* have it be
> read-only.  It seems like some programs can be deleted and have their
> database remain, but I haven't found any way to do this with
> mine.  When I
> try to replace my editing version of the executable program with a
> non-editing version, the database always gets removed in the
> process.

2) When deleting an application, all databases that share the
same creator ID are removed.

2) Apps can open, read & write to -any- database, even those
which have different creator IDs.

Putting 2 & 2 together we get this idea: give your "db initializer"
app a different creator ID than that used by the database it creates.
(The database can, and probably shoud, use the same creator ID that
the "read only" version has.)

- --
- -Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!



----------------------------------------------------------------------

Date: 11 Aug 1999 15:59:48 -0700
From: "Ronnen Belkind" <[EMAIL PROTECTED]>
Subject: Help! Frozen Palm



Has this happened to anyone.  I try to download my code to the palm using
CodeWarrier debug.
 As soon as the download starts, I  get the Palm splash screen and thats 
all.
The palm freezes.  I can't soft boot, or even hard boot; draining the
batteries
doesn't make a
difference either.  I have done this to both my  Palm IIIx and Palm V.

I can download the code to the emulator, and it runs fine.
Palm tech support said to send them the palm and they would send me a new 
one,
but
its obviously not the palm if I can do it to any palm that I download.

Does anyone have any suddgestions how to get the palm unstuck from the 
splash
screen.




----------------------------------------------------------------------

Date: 11 Aug 1999 16:05:51 -0700
From: Steve Sabram <[EMAIL PROTECTED]>
Subject: Re: Idea for Palm

Let me be the first to take a few shots at this.

"Fawcett, Mitch" wrote:

> I have several Palm's and mine all have one thing in common.  They all 
have
> a clam-shell cover that flips up when I'm working.

What is the future of the clam shell?  Is it going to stay with future
devices?

> I've been staring at
> this valuable piece of real estate for months (the inside of the 
clam-shell
> that is) and I've started thinking what a great idea it would be if there
> was a second display screen built into it.

You need to consider cost and also the electrical connection to the
motherboard.  Plus whenever you create a device with an LCD on the inside 
of
the cover that is flipped-up, there is a patent royalty that is enforced.
Can't remember the entity holding the patent right now.

Not to mention that it would be the first Palm device beyond the 160x160
resolution and who knows how much code would break.  But then, if you have
legacy apps run at top or bottom pane via an OS switch and have original 
code
be "multi-pane aware" it may work.  In fact this is the most painless way 
of
going beyond 160x160 that I can think of.

> Especially for P7 apps.  I could
> use the lower screen for navigation, sending requests etc, and the upper
> screen would display results.  C'mon...somebody build one!!  I want one!

To start the idea in the current h/w you can write an app that flips the
windows so it shows:  requests, results or half of each.  A hardware button
could rotate the display options.  Cool idea!




----------------------------------------------------------------------

Date: 11 Aug 1999 16:22:45 -0700
From: John Schettino <[EMAIL PROTECTED]>
Subject: RE: Palm OS Programming for Dummies

We cover both in Palm OS Programming For Dummies:

DmAttachRecord -- pp 251-252
DmFindSortPosition - pp 252-253, 339

Yep, the two are related. We show you how ;)

<[EMAIL PROTECTED]> wrote:
original article:http://www.egroups.com/group/palm-dev-forum/?start=15061
 > That is interesting because that is very close to my "test". The only 
place
 > where i have seen a really clear (to me anyway) explanation of how to 
use
 > the DmFindSortPosition that also ties into the use of the DmAttachRecord
 > function was in a Handheld Systems article written by Ken Albanowski a
while
 > back.  In about 20 words he cleared up something that had me stumped for
 > weeks.  I have never seen anything like it mentioned in any of the 
books.
 >
 > > -----Original Message-----
 > > From:      Danny Epstein [SMTP:[EMAIL PROTECTED]]
 > > Sent:      Tuesday, August 10, 1999 12:28 PM
 > > To:        [EMAIL PROTECTED]
 > > Subject:   Re: Palm OS Programming for Dummies
 > >
 > > I was pleasantly surprised to see so many Palm books in the bookstore,
but
 > > I was disappointed with all of them. My test is to look up
 > > "DmAttachRecord" and see if there's an explanation of how to use it. 
This
 > > API is used by several of the PIM apps and yet it's not mentioned in 
any
 > > of the Palm programming books. I guess what I'm looking for is a "Palm
 > > Programming for Experts" book.
 > > -
 > > Danny Epstein     *     mailto:[EMAIL PROTECTED]
 > > Applied Thought Corporation     *     http://www.appliedthought.com
 > > Flytrap for PalmOS     *     http://www.appliedthought.com/flytrap
 >
________________________________________________________
NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html


----------------------------------------------------------------------

Date: 11 Aug 1999 16:27:22 -0700
From: "B. Flaumenhaft" <[EMAIL PROTECTED]>
Subject: Re: Idea for Palm (and 160x160 question)


Speaking of this, has anyone heard anything from Palm recently about the
160x160 issue? A *lot* of people have been clamoring for a revision, but
like you say, it's a big deal.

>Not to mention that it would be the first Palm device beyond the 160x160
>resolution and who knows how much code would break.  But then, if you have
>legacy apps run at top or bottom pane via an OS switch and have original 
code
>be "multi-pane aware" it may work.  In fact this is the most painless way 
of
>going beyond 160x160 that I can think of.




----------------------------------------------------------------------

Date: 11 Aug 1999 16:42:27 -0700
From: Scott Johnson <[EMAIL PROTECTED]>
Subject: Re: Idea for Palm (and 160x160 question)

"B. Flaumenhaft" wrote:
> has anyone heard anything from Palm recently about the 160x160 issue?
> A *lot* of people have been clamoring for a revision

Just curious: what sorts of different and/or better applications would
people start writing if the screen were changed to, say, 240x240 or
320x320?

Suppose a Palm unit came out with a higher res screen but was also
noticeably slower, due to higher CPU load in the graphics routines.
(320x320 equals 4 times as many pixels, not even counting grayscale or
color.)  Would that be a good trade off?

- -slj-


----------------------------------------------------------------------

Date: 11 Aug 1999 16:46:42 -0700
From: Derek Kite <[EMAIL PROTECTED]>
Subject: Re: list selection with drawfunc



- --- Derek Kite <[EMAIL PROTECTED]> wrote:
> I have a form with a list, where I assign a draw
> function, iterating
> through the db to come up with a list. So far so
> good. Does the palm os
> handle the currently selected item, and highlight it
> by inversing, or
> does the draw function have to do that? Mine seems
> to not highlight the
> selection.
>
I think I figured out what is going on. In my listdrawfunc, I get a
datarecord, lock the handle, unpack it to a struct with pointers to the
various strings. Then as I draw, I do fntcharsinwidth, then
windrawchars in various ways to make it look good. Then I unlock the
handle,release the record.

If I use other strings, the list hilights properly. Is the
fntcharsinwidth, which truncates the string, the string which is in a
locked handle, messing something up?

I will try a strcopy on the strings I need, do the truncating with that
copy. A question though, do I need to release the memory of the strcopy
result? How?

Derek
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



----------------------------------------------------------------------

Date: 11 Aug 1999 16:48:05 -0700
From: KUROSAKA Teruhiko <[EMAIL PROTECTED]>
Subject: any member discount for Palm Dev Conf ?

Hi,
I'm enrolled in Developer Pavillion and I am wondering if there is
any discount rate on the Palm Wolrdwide Developer Conference
available for the member.  Does anyone know?
- -kuro


----------------------------------------------------------------------

Date: 11 Aug 1999 16:57:55 -0700
From: "B. Flaumenhaft" <[EMAIL PROTECTED]>
Subject: Re: Idea for Palm (and 160x160 question)


>Just curious: what sorts of different and/or better applications would
>people start writing if the screen were changed to, say, 240x240 or
>320x320?

Some data-intensive field applications (particularly enterprise collection
stuff) is *really* awkward on a Palm. We're having to do a lot of stuff on
some of the larger CE devices because of this (and believe me, it's been a
pain).

I think Palm's losing a lot of non-PDA business for this kind of thing.
Granted, Palm is fundamentally a PDA, and its success is largely due to its
adherence to this rule ...

>Suppose a Palm unit came out with a higher res screen but was also
>noticeably slower, due to higher CPU load in the graphics routines.
>(320x320 equals 4 times as many pixels, not even counting grayscale or
>color.)  Would that be a good trade off?

Dunno ... how about higher CPU horsepower? It's been a few years since
things were updated. I'm not a hardware expert, but is it possible that
Palm could stand an upgrade without sacrificing the nice battery life?

Regards,
Ben Flaumenhaft.




----------------------------------------------------------------------

Date: 11 Aug 1999 17:05:55 -0700
From: "David A. Desrosiers" <[EMAIL PROTECTED]>
Subject: Re: Idea for Palm (and 160x160 question)


        I've had a solution to that for quite some time now. Why not ditch
the graffiti area altogether, reclaim back that screen landscape, and then
if you required the keyboard, or a graffiti area to be put back, you could
click on an app button, and it would "slide" into view, so you could use
it, then lock the screen back to 160x160 again. If you didn't need it, get
that space back for apps.

On Wed, 11 Aug 1999, B. Flaumenhaft wrote:

>
> Speaking of this, has anyone heard anything from Palm recently about the
> 160x160 issue? A *lot* of people have been clamoring for a revision, but
> like you say, it's a big deal.
>
> >Not to mention that it would be the first Palm device beyond the 160x160
> >resolution and who knows how much code would break.  But then, if you 
have
> >legacy apps run at top or bottom pane via an OS switch and have original
code
> >be "multi-pane aware" it may work.  In fact this is the most painless 
way
of
> >going beyond 160x160 that I can think of.
>
>
>



----------------------------------------------------------------------

Date: 11 Aug 1999 17:12:04 -0700
From: Scott Johnson <[EMAIL PROTECTED]>
Subject: Re: Idea for Palm (and 160x160 question)

"B. Flaumenhaft" wrote:
> Some data-intensive field applications (particularly enterprise
> collection stuff) is *really* awkward on a Palm. We're having to do
> a lot of stuff on some of the larger CE devices because of this (and
> believe me, it's been a pain).

Wait, are we talking about increasing the area of the screen, or
cramming more pixels into the existing size?  (Like how palm size Win CE
units have 240 pixels in the same width as Palm has 160.)

> Granted, Palm is fundamentally a PDA

Sounds like you mean the 1st one then.  I was referring to the 2nd, of
having more pixels in the same space.  That would permit (primarily)
smaller fonts.  But IMHO the standard Palm font is already small enough
for comfortable viewing.  (But of course I wear extremely thick glasses
already... :-)

- -slj-


----------------------------------------------------------------------

Date: 11 Aug 1999 18:34:18 -0700
From: Hal Mueller <[EMAIL PROTECTED]>
Subject: start/finish for Palm Devcon?

The registration folks don't have this information, perhaps someone
else does.  When on Oct 19th will the program begin?  When on Oct
22nd will it end?  I'm trying to be in 3 places at once that week.

- ----
Hal Mueller
Seattle, Washington    [EMAIL PROTECTED]


----------------------------------------------------------------------

Date: 11 Aug 1999 18:36:23 -0700
From: Alan Pinstein <[EMAIL PROTECTED]>
Subject: Re: creating a read-only database

What I originally said IS a way to create a database, then convert it
to read only. It seems simply that THAT isn't what you need ;)

In any case, the creator thing explained by Richard is one way; the
other is to simple INSTALL the app you need and don't DELETE the old
app first...  that way, the install conduit will OVERWRITE your
editing version of the APP with the non-editing version...


Alan Pinstein
Synergy Solutions, Inc.
http://www.synsolutions.com
1-800-210-5293


>      My main problem here isn't really the creation of a read-only
>database, it's the question of how to add data and *then* have it be
>read-only.  It seems like some programs can be deleted and have their
>database remain, but I haven't found any way to do this with mine.  When I
>try to replace my editing version of the executable program with a
>non-editing version, the database always gets removed in the process.  So
>how do I go about adding data to a database that will be accessed in a
>read-only fashion?
>
>     Michael
>
>From Alan:
> >There is a db header attribute for readOnly. This prevents the DB
> >from being opened in dmModeReadWrite. You can programatically set
> >this bit by using the Dm[Get | Set]DatabaseInfo() calls.
>
> >***** Important note *****
> >You CANNOT successfully beam databases with the readONly bit set. We
> >ran into this problem while writing a beaming application. a quick
> >look at the sources and we realized that this is a due to a bug in
> >the Exchange Manager in the way it handles databases received with
> >ExgDBWrite(). I have sent a bug report in, so maybe in a future OS it
> >will be (has been?) fixed.
>
> >>    This may be a silly question, but how do I go about creating a
>database
> >>that is readable, but not editable by a palm app (like a dictionary or
> >>online manual program)?  I'd like to first use it to create the 
database,
> >>then modify the source code so that the app only reads, then recompile.
> >> However, to load the new version of the app, I have to delete the old
> >>version, and this deletes the database.  Any tips on how to get around
> >>this?
> >>
> >>    Michael



----------------------------------------------------------------------

Date: 11 Aug 1999 21:47:22 -0700
From: "Elia Freedman" <[EMAIL PROTECTED]>
Subject: RE: start/finish for Palm Devcon?

Usually evening on the 19th is check-in and food.  No events scheduled
besides meet other people.  On the 22nd, over by about noon or so.

Elia

- -----Original Message-----
From: Hal Mueller [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 11, 1999 6:28 PM
To: [EMAIL PROTECTED]
Subject: start/finish for Palm Devcon?


The registration folks don't have this information, perhaps someone
else does.  When on Oct 19th will the program begin?  When on Oct
22nd will it end?  I'm trying to be in 3 places at once that week.

- ----
Hal Mueller
Seattle, Washington    [EMAIL PROTECTED]




----------------------------------------------------------------------

Date: 11 Aug 1999 21:53:45 -0700
From: "Duncan, Ray, M.D." <[EMAIL PROTECTED]>
Subject: KEEPROW and KEEPCOL

In section 6.1 of the  "Palm VII Connected Organizer Content Style
Guide" dated 3/4/99, in the entry for <TABLE>, it mentions attributes
KEEPROW and KEEPCOL and refers the reader to Section 6.3 for a more
detailed description. However Section 6.3 doesn't say anything about
these. Do they actually work and if so, what do they do? It would be
really helpful if KEEPROW froze the top row(s) of a table on the screen,
but ... do they? My experiment with KEEPROW doesn't seem to do anything
special.


----------------------------------------------------------------------

Date: 11 Aug 1999 22:39:52 -0700
From: Hal Mueller <[EMAIL PROTECTED]>
Subject: RE: start/finish for Palm Devcon?

At 9:40 PM -0700 8/11/99, Elia Freedman wrote:
>Usually evening on the 19th is check-in and food.  No events scheduled

Registration is scheduled to open _Monday_ evening the _18th_,
according to a phone call today, which suggests to me they might be
changing the format this year.



----------------------------------------------------------------------

End of Digest

To request a copy of the help file, reply to this message and put "help" in
the subject. To contact a human, please mail to [EMAIL PROTECTED]




Reply via email to