Remove my email in your list. Thanks

-----Message d'origine-----
De : Palm Developers Forum List [mailto:[EMAIL PROTECTED]]
Envoy� : 9 novembre, 1999 02:00
� : Palm Developers Forum List
Objet : Palm Dev Forum Digest 11/8/99


-> FldSetFont Question
     by "Mike Davis" <[EMAIL PROTECTED]>
-> Users can't delete Hacks in PalmOS 3.2 ?
     by "Linke, Andreas Dr." <[EMAIL PROTECTED]>
-> Re: FldSetFont Question
     by Holger Klawitter <[EMAIL PROTECTED]>
-> Re: Users can't delete Hacks in PalmOS 3.2 ?
     by Holger Klawitter <[EMAIL PROTECTED]>
-> RE: Users can't delete Hacks in PalmOS 3.2 ?
     by "Bozidar Benc" <[EMAIL PROTECTED]>
-> is there anything by which we can pass variable no of arguments to a
function
     by "Gaurav Palvia" <[EMAIL PROTECTED]>
-> Conduit dialog help
     by <[EMAIL PROTECTED]>
-> Does CW6 break the 64K segment limit?
     by "Phil Lachmann-PJ" <[EMAIL PROTECTED]>
-> RE: Help Trapping the OS
     by [EMAIL PROTECTED]
-> Palm OS 3.5 Request WAS (Users can't delete Hacks in PalmOS 3.2 ?)
     by [EMAIL PROTECTED]
-> Re: float linker errors
     by Michael McFarland <[EMAIL PROTECTED]>
-> how to programmaticaly update the version of a Palm program
     by Hudin Lucian <[EMAIL PROTECTED]>
-> Re: queries regarding Tcp/ip support on Palm and Code Warrior(lite
version)
     by "Nir Niselevitch" <[EMAIL PROTECTED]>
-> Re: RE: Help Trapping the OS
     by [EMAIL PROTECTED]
-> Beaming Debuging
     by "Dan Hod" <[EMAIL PROTECTED]>
-> Re: Beaming Debuging
     by Ben Gottlieb <[EMAIL PROTECTED]>
-> RE: Palm OS 3.5 Request WAS (Users can't delete Hacks in PalmOS 3.2 ?)
     by "Bozidar Benc" <[EMAIL PROTECTED]>
-> Re: Does CW6 break the 64K segment limit?
     by "Jun-Kiat Lam" <[EMAIL PROTECTED]>
-> Major CW R6 irritation
     by "Gordon, Douglas" <[EMAIL PROTECTED]>
-> Most simple way of sending data from cradled Palm...
     by "Scott Simpson" <[EMAIL PROTECTED]>
-> delay or pause
     by "Charles Rezsonya" <[EMAIL PROTECTED]>
-> Re: Most simple way of sending data from cradled Palm...
     by "Gaurav Palvia" <[EMAIL PROTECTED]>
-> Re: delay or pause
     by "Gaurav Palvia" <[EMAIL PROTECTED]>
-> Help - Palm Device Reset/Hard Reset
     by Elizabeth Chang <[EMAIL PROTECTED]>
-> [Announcement] CodeWarrior for Palm R6 upgrades and registration
     by "Jun-Kiat Lam" <[EMAIL PROTECTED]>
-> Multibit icons in CW6 (with the 1.2b4 constructor)
     by "Dan Hod" <[EMAIL PROTECTED]>
-> RE: [Announcement] CodeWarrior for Palm R6 upgrades and registration
     by <[EMAIL PROTECTED]>
-> Re: Multibit icons in CW6 (with the 1.2b4 constructor)
     by "Jun-Kiat Lam" <[EMAIL PROTECTED]>
-> Re: [Announcement] CodeWarrior for Palm R6 upgrades and registration
     by "Jun-Kiat Lam" <[EMAIL PROTECTED]>
-> Re: Most simple way of sending data from cradled Palm...
     by "Dave Lippincott" <[EMAIL PROTECTED]>
-> Re: Multibit icons in CW6 (with the 1.2b4 constructor)
     by "Mark Lussier" <[EMAIL PROTECTED]>
-> Re: [Announcement] CodeWarrior for Palm R6 upgrades and registration
     by Jon Baer <[EMAIL PROTECTED]>
-> Re: Most simple way of sending data from cradled Palm...
     by Steve Sabram <[EMAIL PROTECTED]>
-> Re: Does CW6 break the 64K segment limit?
     by Jason Dawes <[EMAIL PROTECTED]>
-> Re: Conduit dialog help
     by [EMAIL PROTECTED]
-> Re: how to programmaticaly update the version of a Palm program
     by [EMAIL PROTECTED]
-> Re: Most simple way of sending data from cradled Palm...
     by "Scott Simpson" <[EMAIL PROTECTED]>
-> Re: Beaming Debuging
     by Danny Epstein <[EMAIL PROTECTED]>
-> Re: FldSetFont Question - Still have problem
     by "Michael S. Davis" <[EMAIL PROTECTED]>
-> Kinda off-topic, Palm TV commercial
     by "Michael S. Davis" <[EMAIL PROTECTED]>
-> Database size limitation?
     by "Thiago Rossato" <[EMAIL PROTECTED]>
-> Re: Most simple way of sending data from cradled Palm...
     by "Scott Simpson" <[EMAIL PROTECTED]>
-> Re: Kinda off-topic, Palm TV commercial
     by John Marshall <[EMAIL PROTECTED]>
-> Re: Kinda off-topic, Palm TV commercial
     by Scott Johnson <[EMAIL PROTECTED]>
-> Re: Database size limitation?
     by JB Parrett <[EMAIL PROTECTED]>
-> Re: Most simple way of sending data from cradled Palm...
     by "Dave Lippincott" <[EMAIL PROTECTED]>
-> multiple resource files in single project
     by Bill Berthoud <[EMAIL PROTECTED]>
-> Re: Database size limitation?
     by "Dave Lippincott" <[EMAIL PROTECTED]>
-> Re: Kinda off-topic, Palm TV commercial
     by "Dave Lippincott" <[EMAIL PROTECTED]>
-> CORRECTION: [ANN] CodeWarrior for Palm R6 upgrades and registration
     by "Jun-Kiat Lam" <[EMAIL PROTECTED]>
-> Re: Kinda off-topic, Palm TV commercial
     by Craig Schofield <[EMAIL PROTECTED]>
-> Re: FldSetFont Question
     by "Michael S. Davis" <[EMAIL PROTECTED]>
-> RE: [Announcement] CodeWarrior for Palm R6 upgrades and registrat    ion
     by Richard Hartman <[EMAIL PROTECTED]>
-> RE: [Announcement] CodeWarrior for Palm R6 upgrades and registration
     by <[EMAIL PROTECTED]>
-> Palm Code Generator from PilRC Resource File
     by "Oguri, Joe" <[EMAIL PROTECTED]>
-> frmCustomAlert - POSE vs Palm
     by Kenneth Whitehead <[EMAIL PROTECTED]>
-> RE: Most simple way of sending data from cradled Palm...
     by Richard Hartman <[EMAIL PROTECTED]>
-> RE: Most simple way of sending data from cradled Palm...
     by Richard Hartman <[EMAIL PROTECTED]>
-> RE: [Announcement] CodeWarrior for Palm R6 upgrades and registrat    ion
     by Richard Hartman <[EMAIL PROTECTED]>
-> Hacks - Do they reduce resources
     by "Mike Davis" <[EMAIL PROTECTED]>
-> Re: Major CW R6 irritation
     by Kai <[EMAIL PROTECTED]>
-> Re: Major CW R6 irritation
     by "Matthew D Moss" <[EMAIL PROTECTED]>
-> Re: Major CW R6 irritation
     by Brian Mathis <[EMAIL PROTECTED]>
-> Re: Major CW R6 irritation
     by "Mike Davis" <[EMAIL PROTECTED]>
-> Re: Multibit icons in CW6 (with the 1.2b4 constructor)
     by "Jun-Kiat Lam" <[EMAIL PROTECTED]>
-> Re: multiple resource files in single project
     by "Jun-Kiat Lam" <[EMAIL PROTECTED]>
-> RE: Major CW R6 irritation
     by "Eric Cloninger" <[EMAIL PROTECTED]>
-> Subroutine with global variable
     by Philip Ho <[EMAIL PROTECTED]>


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

Date: 7 Nov 1999 23:10:04 -0800
From: "Mike Davis" <[EMAIL PROTECTED]>
Subject: FldSetFont Question

I have two forms that each have a field that is filled,
character-by-character.  Both forms fill the field exactly
the same way.  After each character is inserted into the
field, a call is made to this function:

void AdjustFieldFont(Word fldID, int width) {
    FormPtr     form;
    FieldPtr    fldP;

    form = FrmGetActiveForm();
    fldP = FrmGetObjectPtr(form, FrmGetObjectIndex(form, fldID));
    if(FldGetTextLength(fldP)>width) {
        FldSetFont(fldP, stdFont);
    }
    else {
        FldSetFont(fldP, largeFont);
    }
}

My problem is that as data is entered into the fields, on
Form1, I get an error (with POSE) when the font is set to stdFont,
in the above routine.  Entering characters into the other field,
on Form2, NEVER gives the error (with POSE).

The only difference between the fields is that one is multi-line,
with no underline (this one works) and the other field is single-line
and has an underline.  Otherwise both fields are identical.

What can cause the error: "app has just read from memory location
zero, NULL" when changing font size.  Both fields have characters
inserted from global arrays of characters.




- --
- -----------------------------------------------------------------
Discussion Group:        http://www.halcyon.com/ipscone/wwwboard/

Protect your constitutional rights. Your favorite one may be next!
- -----------------------------------------------------------------


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

Date: 8 Nov 1999 02:52:38 -0800
From: "Linke, Andreas Dr." <[EMAIL PROTECTED]>
Subject: Users can't delete Hacks in PalmOS 3.2 ?

Unfortunately, devsupp is not responding so I'll try the list.

Is it true that on a Palm VII (PalmOS 3.2), there's no UI to delete Hacks
(HackMaster applets of type 'HACK')? They don't show up in the launchers
menu->App->Delete... list. (In 3.1 and earlier and in 3.3 Hacks do show up
in the list.)

Is there any fix/OS upgrade from Palm for this? What should we tell the
users how to get rid of a Hack?

Regards,
Andreas


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

Date: 8 Nov 1999 03:25:44 -0800
From: Holger Klawitter <[EMAIL PROTECTED]>
Subject: Re: FldSetFont Question


> void AdjustFieldFont(Word fldID, int width) {
>     FormPtr     form;
>     FieldPtr    fldP;
>
>     form = FrmGetActiveForm();
>     fldP = FrmGetObjectPtr(form, FrmGetObjectIndex(form, fldID));
>     if(FldGetTextLength(fldP)>width) {
>         FldSetFont(fldP, stdFont);
>     }
>     else {
>         FldSetFont(fldP, largeFont);
>     }
> }

> What can cause the error: "app has just read from memory location
> zero, NULL" when changing font size.  Both fields have characters
> inserted from global arrays of characters.

Normally this error occurs when the text handle is not properly
set. You might want to check with FldGetTextHandle before getting
the text length. The reason for one field having a handle and the
other not might be that the first one had the focus.

Hope this helps,
        Holger Klawitter
- --
Holger Klawitter                                     +49 (0)251 484 0637
[EMAIL PROTECTED]                             http://www.klawitter.de/



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

Date: 8 Nov 1999 03:30:41 -0800
From: Holger Klawitter <[EMAIL PROTECTED]>
Subject: Re: Users can't delete Hacks in PalmOS 3.2 ?

"Linke, Andreas Dr." wrote:
>
> Unfortunately, devsupp is not responding so I'll try the list.
>
> Is it true that on a Palm VII (PalmOS 3.2), there's no UI to delete Hacks
> (HackMaster applets of type 'HACK')? They don't show up in the launchers
> menu->App->Delete... list. (In 3.1 and earlier and in 3.3 Hacks do show up
> in the list.)
>
> Is there any fix/OS upgrade from Palm for this? What should we tell the
> users how to get rid of a Hack?

Just in case: Beambox can delete hacks and should work on Palm VII.

Regards,
        Holger Klawitter
- --
Holger Klawitter                                     +49 (0)251 484 0637
[EMAIL PROTECTED]                             http://www.klawitter.de/


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

Date: 8 Nov 1999 04:18:22 -0800
From: "Bozidar Benc" <[EMAIL PROTECTED]>
Subject: RE: Users can't delete Hacks in PalmOS 3.2 ?

Yes, it's true - hacks cannot be deleted on a Palm VII.

On the OS 3.3 hack show up on the list, but they are not deleted as they
should - their preferences and associated databases are not deleted.

You can point your users to the PGHQ where they can find HackBroom,
a small, nice <g> and free utility for deleting hacks. It will warn a user
if a hack is in the flash or if it is already active.

Regards

Bozidar

> Unfortunately, devsupp is not responding so I'll try the list.
>
> Is it true that on a Palm VII (PalmOS 3.2), there's no UI to delete Hacks
> (HackMaster applets of type 'HACK')? They don't show up in the launchers
> menu->App->Delete... list. (In 3.1 and earlier and in 3.3 Hacks do show up
> in the list.)
>
> Is there any fix/OS upgrade from Palm for this? What should we tell the
> users how to get rid of a Hack?
>
> Regards,
> Andreas
>
>



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

Date: 8 Nov 1999 04:44:27 -0800
From: "Gaurav Palvia" <[EMAIL PROTECTED]>
Subject: is there anything by which we can pass variable no of arguments to
a
function

hi pals,

is there anything by which we can pass variable no of arguments to a
function.The standard vm_list ,vm_start macros are not supported
in the code warrior c compiler



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

Date: 8 Nov 1999 05:30:31 -0800
From: <[EMAIL PROTECTED]>
Subject: Conduit dialog help

ConduitFolks,

I'm trying to write a VC++ 5.0 conduit that will popup a dialog during the
hotsync process.  Can someone tell me if this is possible and if so how to
do it.

Many thanks in advance.

Regards,

Thom Stilwill
[EMAIL PROTECTED]
ICQ: 2267468



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

Date: 8 Nov 1999 05:42:31 -0800
From: "Phil Lachmann-PJ" <[EMAIL PROTECTED]>
Subject: Does CW6 break the 64K segment limit?

I thought that I saw this on a feature summary of CW6. Does CW6 get past the
64k
per segment limitation, or was I dreaming?

Phil Lachmann




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

Date: 8 Nov 1999 05:46:30 -0800
From: [EMAIL PROTECTED]
Subject: RE: Help Trapping the OS

At 7 Nov 1999 18:38:23 -0800, Ronald Gouldner Jr wrote:
>Thanks Matt,
>
>I have read this info, actually it is the reason I started looking
>for more info.  I can tell from the API how to set traps addresses
>however TrapWeaver makes it sound very error prone.

    Sorry, I guess the TrapWeaver docs could have been better written,
because that's not how I intended them to sound. I wanted the reader to
understand that while uninstalling a patch will erase any overlapping
patches installed after it, TrapWeaver solves this problem, and other
than that, patching is fairly straightforward. Do you have any
suggestions on how the docs might be improved?


>My main questions that I was hoping Palm might have
>documented are these
>1) When I install a trap should I force a reset (I think Yes)

    Resetting when you install is unnecessary, since patch installation
conflicts are only caused through uninstalling. You could force a reset
on uninstall if you wanted to be safe, but if the device is running
TrapWeaver, this is unnecessary as well.


>2) How do I require my trap be uninstalled before it is
>deleted (Like Palm OS Patches)

    When you install your patches, you can lock your app's database so
it can't be deleted, but this may cause problems if the user tries to
hotsync a newer version on top of it.
    The method I prefer is to copy the patch functions to orphan chunks
in storage mem, then point SysSetTrapAddress() at those. (Ophan chunks
are just DmNewHandle()s that don't get attached to a database - they
will automatically be freed on reset). This way, the app can be deleted
or written over without disturbing the patches - a good thing or a bad
thing, depending on how you look at it.


>3) How do I lock the memory address of the function that
>I will be setting the trap to.  It will be a very small part of
>my overall application.

    If you use the orphan-chunk method, you just need to lock the
handle. (Which should be done anyways, before you can copy to it).
Otherwise, you need to get the code resource containing your function,
lock it, and release it without unlocking it. You can find code to do
this in the LaunchPad sources:
http://www.nwlink.com/~emilyk/LaunchPad/index.html


Josh Freeman
Twilight Edge Software
http://www.twilightedge.com




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

Date: 8 Nov 1999 05:48:23 -0800
From: [EMAIL PROTECTED]
Subject: Palm OS 3.5 Request WAS (Users can't delete Hacks in PalmOS 3.2 ?)

This has not yet been fixed in Palm OS 3.5 either (I just tried it).
The pref's still stay after a hack is deleted in 3.5a

Ron

>>Yes, it's true - hacks cannot be deleted on a Palm VII.
>>On the OS 3.3 hack show up on the list, but they are not deleted as they
>>should - their preferences and associated databases are not deleted.
>>You can point your users to the PGHQ where they can find HackBroom,
>>a small, nice <g> and free utility for deleting hacks. It will warn
>> a user if a hack is in the flash or if it is already active.
>>Regards
>>Bozidar





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

Date: 8 Nov 1999 06:05:04 -0800
From: Michael McFarland <[EMAIL PROTECTED]>
Subject: Re: float linker errors

  In my project, the Floating Point Library is set to Palm OS.  Are you
saying
it should be set to something else? (like Library?)

     Michael

Jun-Kiat Lam wrote:
>You may want to try checking the Project Settings:68K Processor and
checking
>that the Floating Point Library is set to Palm OS. This may be the cause of
>the problem.

>Jun-Kiat Lam
>Metrowerks Technical Support

- ----- Original Message -----
From: Michael McFarland <[EMAIL PROTECTED]>
To: 'Palm Development List' <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 1999 4:28 PM
Subject: float linker errors


> Howdy all,
>
>     I've been using the NewFloatMgr for a while with no problems, and one
> of my programs still works fine.  But for some reason, when I tried using
> floats in my new program, I get a series of linker errors, along the lines
> of:
> Linker Error:     program.c '_f_itof' referenced from 'MyFunction' is
> undefined
> Linker Error:     program.c '_f_ftod' referenced from 'MyFunction' is
> undefined
> Linker Error:     program.c '_d_fge' referenced from 'MyFunction' is
> undefined
>
> These errors seem to be attached to calls like:
> myFloat = (float)myInt;
> if (myFloat >= 0) {};
>
> I am including <NewFloatMgr.h>, as I always have.  Any ideas what I could
> be doing wrong?  Is there a particular directory that might (for some
> unknown reason) have disappeared from my CodeWarrior search paths?   Any
> help would be greatly appreciated.
>
>       Michael
>
>


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

Date: 8 Nov 1999 06:14:45 -0800
From: Hudin Lucian <[EMAIL PROTECTED]>
Subject: how to programmaticaly update the version of a Palm program

> ConduitFolks,
>
> I'm trying to write a VC++ 5.0 conduit that will popup a dialog during the
> hotsync process.  Can someone tell me if this is possible and if so how to
> do it.
>
> Many thanks in advance.
>

 just
 AfxMessageBox("yer msg");
 if you're using mfcor
 ::MessageBox(NULL, "hrmmp", "msg box", MB_OK);
 with WinAPI

 I have another question for you guys :
 how can I programmaticaly install a new version of a program.
 say I have to update the version of my program at next hotsync

 many thanks in advance,
 Luci



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

Date: 8 Nov 1999 06:17:35 -0800
From: "Nir Niselevitch" <[EMAIL PROTECTED]>
Subject: Re: queries regarding Tcp/ip support on Palm and Code Warrior(lite
version)

Hi,

Check the little program called PilotNet.
You can find it in the big shareware sites ( Palm Central etc.)
It lets you connect to the internet through the PC modem while the Palm is
in
  the cradle.

Nir.

- ----- Original Message -----
From: Gaurav Palvia <[EMAIL PROTECTED]>
To: palm-dev-forum <[EMAIL PROTECTED]>
Sent: Saturday, November 06, 1999 7:18 PM
Subject: queries regarding Tcp/ip support on Palm and Code Warrior(lite
version)


> hi pal,
>        LinkDirect establishes TCP/IP over serial link between a Palm
> and a Desktop.that is fine.But  now i need  something  by which
> i can  be on the Internet without modem.becaz i dont have a modem.
> I suppose LinkDirect is for TCP/IP communication between palm
> and the desktop.is there any way by which i connect my palm to the desktop
> and then through the palm i can access the Internet.So
> in brief how will be i on the Internet without using a modem.i think
> there must be some software which is installed on both palm and the
> desktop  and which enables this functionality.Lets say i want to use
> my HTML browser(for Palm) without modem.I s there any way i can do it.
>
> 2>Does the code warrior Lite version support programs to be run on the
> emulator.becaz when i give the path to the emulator in the Preference
> setting and when ii Debug it gives an error.
>
>
>
>


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

Date: 8 Nov 1999 06:47:38 -0800
From: [EMAIL PROTECTED]
Subject: Re: RE: Help Trapping the OS

Josh,

    Thank you very mush for the additional detail !  Sorry if I made you
feel that your doc's are not complete, that was not my intention.
    I think your docs are fine except it assumes the reader already knows
how to set traps.  Since you are suggesting that traps are error prone
unless TrapWeaver is installed I wanted to better understand the steps
required to install traps without TrapWeaver before I could make a decision
to use trapweaver.   Your samle.c is helpful however if checks for the
trapweaver feature and if it does not find it it gives up so it don't help
me understand normal trapping. (Normal trapping is left as a self study
exercise ;-)
    I also did not like having to pass the size of my routine to your
library although I guess I can live with that and I understand the need. It
seems easy to get wrong with bad results.  I wonder if there is another way
for you to get the size of my routine ?
    I would like to use trap weaver or even hackmaster however my problem
is the additional shareware registration needed for these two tools.  I
have a few users of my app that want to incorporate it into their products
and forcing them to not only make a deal with me but also with the author
of another set of tools is too complex.  I need my tool to be independent
in order to market it correctly.
    I would love to have the safty of TrapWeaver but my clients don't want
the extra baggage, sorry...  Your idea is great it is unfortunate that the
Palm OS does not just handle this itself.  It would be great if you could
just add your trap in the PalmOS and have it automatically do what
TrapWeaver does.

Ron Gouldner




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

Date: 8 Nov 1999 07:00:44 -0800
From: "Dan Hod" <[EMAIL PROTECTED]>
Subject: Beaming Debuging

What is the best way to debug beaming?
When I try to debug it using the device with the CW debugger, I could not
beam until I reset the device. After doing soft reset I could beam (and also
receive beaming) but without beeing able to break with the debugger.

Please help!!!

:o)



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

Date: 8 Nov 1999 07:13:30 -0800
From: Ben Gottlieb <[EMAIL PROTECTED]>
Subject: Re: Beaming Debuging

>What is the best way to debug beaming?
>When I try to debug it using the device with the CW debugger, I could not
>beam until I reset the device. After doing soft reset I could beam (and
also
>receive beaming) but without beeing able to break with the debugger.
>
>Please help!!!
>
>:o)

I think the thing to do is wait until you can lay your hands on a
Visor. At the conference they told us that you can connect the
debugger using USB, and still be able to beam using the serial
manager. Tres cool.

Ben


+--------------------------------------------+
Ben Gottlieb                           Stand Alone, Inc.
v: 773-477-2492                 f: 773-477-2579
[EMAIL PROTECTED]              www.standalone.com


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

Date: 8 Nov 1999 07:26:47 -0800
From: "Bozidar Benc" <[EMAIL PROTECTED]>
Subject: RE: Palm OS 3.5 Request WAS (Users can't delete Hacks in PalmOS 3.2
?)

So, a request for the OS 3.5:
Hacks, as a de facto standard, should have special treatment.
At list bring back the behavior of the OS 3.1 and earlier.

Bozidar

> This has not yet been fixed in Palm OS 3.5 either (I just tried it).
> The pref's still stay after a hack is deleted in 3.5a
>
> Ron
>
> >>Yes, it's true - hacks cannot be deleted on a Palm VII.
> >>On the OS 3.3 hack show up on the list, but they are not deleted as they
> >>should - their preferences and associated databases are not deleted.
> >>You can point your users to the PGHQ where they can find HackBroom,
> >>a small, nice <g> and free utility for deleting hacks. It will warn
> >> a user if a hack is in the flash or if it is already active.
> >>Regards
> >>Bozidar
>
>
>
>
>



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

Date: 8 Nov 1999 08:07:39 -0800
From: "Jun-Kiat Lam" <[EMAIL PROTECTED]>
Subject: Re: Does CW6 break the 64K segment limit?

Hi Phil,

Actually, the 64K per segment limit is a limit imposed by the Palm OS. You
may be referring to the ability to build multi-segment applications which
are a way to build apps bigger than 64K. BTW, this ability has been in
CodeWarrior since release 4.

HTH,
Jun-Kiat Lam
Metrowerks Technical Support

- ----- Original Message -----
From: Phil Lachmann-PJ <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 08, 1999 7:35 AM
Subject: Does CW6 break the 64K segment limit?


> I thought that I saw this on a feature summary of CW6. Does CW6 get past
the 64k
> per segment limitation, or was I dreaming?
>
> Phil Lachmann
>
>
>



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

Date: 8 Nov 1999 08:14:21 -0800
From: "Gordon, Douglas" <[EMAIL PROTECTED]>
Subject: Major CW R6 irritation

I just noticed, after installing CW R6 (Lite, actually), that CW has now
associated itself -- without asking! -- with all my C source files. That is,
its icon is now next to all my source files and it is the app that will open
if I dbl-click on a .c, .h, .cpp, etc. file. This is a major irritation for
me when a product does this. For one thing, I use Premia's CodeWright as my
general program editor and had it as the default app for all source files.
Plus, I also use MS VC++ for Windows-based development. In other words, I
did not want CodeWarrior "taking over" my source files in this way. And it
is a major pain to change things back. This should be an install option!

For what it's worth, I've also found this same problem with many types of
graphic utility programs -- whenever you install them, they go and associate
themselves with your .jpg and .gif files, etc.

  Doug Gordon


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

Date: 8 Nov 1999 08:39:22 -0800
From: "Scott Simpson" <[EMAIL PROTECTED]>
Subject: Most simple way of sending data from cradled Palm...

Hey gang,

Long-time listener, first time caller.

I am attempting to send a few bytes of data from a cradled Palm to a Windows
app via the serial cable.

I presume that I cannot use the Serial Manager since HotSync will own the
COM port on the Windows side.

So, I am left with something simple like a Berkeley-style socket from the
Palm to the Windows app, which sounds simple enough.

The problem I have is the connection from the Palm to Windows app.
Specifically, it seems as though I cannot just open a socket connection
between the two; it seems like I need to implement a PPP server on the
Windows side just so the Palm can make the connection.  This seems awfully
severe-- is this really necessary?

The opening/writing/reading/closing of the socket is straightforward enough,
but I need some assistance figuring out how to make the connection in the
first place.

Or is there a simpler way of doing this?

Hopefully, that's clear.  Any help would be much appreciated.  I hope I'm
missing something obvious...

Thanks,
Scott



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

Date: 8 Nov 1999 08:52:26 -0800
From: "Charles Rezsonya" <[EMAIL PROTECTED]>
Subject: delay or pause

is there a delay (200) or pause(200) command?  something simple to prevent
user interaction for a second or so



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

Date: 8 Nov 1999 09:09:30 -0800
From: "Gaurav Palvia" <[EMAIL PROTECTED]>
Subject: Re: Most simple way of sending data from cradled Palm...


hi friend,
   i was having the same problem.and the answer is LinkDirect
It is a utility written by Richard Cohen. you can load it
from www.palmgear.com.
Richard Cohen is a also memeber of this mailing list.LinkDirect
establishes TCP/IP connection over the serial link betn a pilot
and a desktop.i am also attaching the mails that exchanged
between me and the palm-dev-forum regarding this.hope they will
make the things clearer



- -----Original Message-----
From: Scott Simpson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, November 08, 1999 10:21 PM
Subject: Most simple way of sending data from cradled Palm...


>Hey gang,
>
>Long-time listener, first time caller.
>
>I am attempting to send a few bytes of data from a cradled Palm to a
Windows
>app via the serial cable.
>
>I presume that I cannot use the Serial Manager since HotSync will own the
>COM port on the Windows side.
>
>So, I am left with something simple like a Berkeley-style socket from the
>Palm to the Windows app, which sounds simple enough.
>
>The problem I have is the connection from the Palm to Windows app.
>Specifically, it seems as though I cannot just open a socket connection
>between the two; it seems like I need to implement a PPP server on the
>Windows side just so the Palm can make the connection.  This seems awfully
>severe-- is this really necessary?
>
>The opening/writing/reading/closing of the socket is straightforward
enough,
>but I need some assistance figuring out how to make the connection in the
>first place.
>
>Or is there a simpler way of doing this?
>
>Hopefully, that's clear.  Any help would be much appreciated.  I hope I'm
>missing something obvious...
>
>Thanks,
>Scott
>



******************* NOTE *******************
There may be important message content
contained in the following MIME Information.
********************************************


- ------------------ MIME Information follows ------------------

This is a multi-part message in MIME format.

- ------=_NextPart_000_0019_01BF2A3B.DEDD5EF0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

<<<<<< See above "Message Body" >>>>>>

- ------=_NextPart_000_0019_01BF2A3B.DEDD5EF0
Content-Type: message/rfc822;
        name="RE tcpip over serial connection.eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
        filename="RE tcpip over serial connection.eml"

Return-Path: <[EMAIL PROTECTED]>
Received: from seattle.3com.com (seattle.3com.com [129.213.128.97])
        by maverick.ruksun.com (8.9.3/8.9.3) with ESMTP id OAA27886
        for <[EMAIL PROTECTED]>; Fri, 29 Oct 1999 14:44:12 +0530
Received: from new-york.3com.com (new-york.3com.com [129.213.157.12])
        by seattle.3com.com (8.8.8/8.8.8) with ESMTP id CAA22583;
        Fri, 29 Oct 1999 02:09:09 -0700 (PDT)
Received: from ls.3com.com ([192.156.136.82])
        by new-york.3com.com (8.8.8/8.8.8) with SMTP id CAA16283;
        Fri, 29 Oct 1999 02:08:53 -0700 (PDT)
Date: Fri, 29 Oct 1999 05:09:50 -0400 (EDT)
Message-Id: <[EMAIL PROTECTED]>
From: Richard Cohen <[EMAIL PROTECTED]>
Subject: RE: tcp/ip over serial connection
To: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Precedence: Bulk
X-LIST-URL: http://ls.palm.com
Reply-To: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
Status:

This is sort of correct, depending on which PalmOS you're using.  If
you're using 3.0x (or older?), DirectLink will work fine.  If you're using
3.1x (and maybe 3.2x), DirectLink will cause a reset, but LinkDirect (my
replacement for DirectLink) will work fine.  If you're using 3.3x (or
newer?), you don't need either LinkDirect or DirectLink, since the
functionality is now included in the OS.

This is of course a user issue, rather than a developer issue, and does
not therefore belong on this list.

BTW, it's a good job LinkDirect is free under the GPL.  If I was selling
it (which I think would be wrong for such a tiny program, but anyway...),
I'd think Palm was pulling a Microsoft on me by including the
functionality of a third-party utility in a new OS revision, therefore
putting me 'out of business'.  As it is, I'm happy to see it in the OS,
since I'm not very good at documenting my software, and I get *loads* of
questions about how to use LinkDirect :-)

Cheers
Richard

On Thu, 28 Oct 1999, Ariel Barreiro wrote:

> whell, if you are using windows, you should check for DirectLink in palm
> central, you'll find a proggie that explains how to tcp/ip link with your
> desktop. If you are using unix, you will find the explanation there too,
but
> that one I have already known it so I am gonna tell it to you. It is quite
> simple, you just put in your network configuration to dial a 00, just two
> ceros, and then, in your linux term, you have to establish a ppp interface
> with your serial, that is:
>
> pppd /dev/ttyS1 (com2) localppp:remoteppp, where localppp is an ip you
asign
> to you desktop and remoteppp the one you asign to your device.
>
> Hope this helps.
> Ariel
>
>

- ------=_NextPart_000_0019_01BF2A3B.DEDD5EF0--



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

Date: 8 Nov 1999 09:12:40 -0800
From: "Gaurav Palvia" <[EMAIL PROTECTED]>
Subject: Re: delay or pause

  SysTaskDelay( value );

hope this helps


- -----Original Message-----
From: Charles Rezsonya <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, November 08, 1999 10:32 PM
Subject: delay or pause


>is there a delay (200) or pause(200) command?  something simple to prevent
>user interaction for a second or so
>



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

Date: 8 Nov 1999 09:22:00 -0800
From: Elizabeth Chang <[EMAIL PROTECTED]>
Subject: Help - Palm Device Reset/Hard Reset

Hi all,

Can someone help me reset my Palm device (Palm V).  I tried both soft reset
and hard reset (hold down power and press reset, release power and then
release reset).  No matter what I did, the Palm Computing Platform screen is
always there.

Elizabeth Chang
ISSI Consulting Group
[EMAIL PROTECTED]




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

Date: 8 Nov 1999 09:30:45 -0800
From: "Jun-Kiat Lam" <[EMAIL PROTECTED]>
Subject: [Announcement] CodeWarrior for Palm R6 upgrades and registration

Dear CodeWarriors,

Due to the recent confusion concerning CodeWarrior for Palm Computing
platform Release 6 upgrades and registration, I thought I should send this
to clarify the situation.

GENERAL INFORMATION:
- -------------------
Please visit http://www.palm.com/devzone/tools/cw/ for the lastest on
CodeWarrior for Palm Computing Platform.

UPGRADES:
- ---------
Free Release 6 Upgrades:
CodeWarrior for Palm Computing platform Release 5 customers who REGISTERED
their product before October 1, 1999, should be receiving their free Release
6 upgrades in the mail soon - they were shipped out last week.

Unregistered CodeWarrior for Palm Computing platform Release 5 customers
must register to receive their free Release 6 upgrade.  Please register at
http://www.palm.com/devzone/cw/register.html.  You should receive your
update within 4-6 weeks of registration.

Who receives free upgrades?
- -------------------------
If your FIRST CodeWarrior for Palm Computing Platform purchase was....

a. Developer Release (DR) 1 and you registered, you should have received
DR2, Relase 3, Release 4, and Release 5 for free.
b. Developer Release (DR) 2 and you registered, you should have received
Release 3, Release 4, and Release 5 for free.
c. Release 3 and you registered, you should have received Release 4 for
free.
d. Release 4 and you registered, you should have received Release 5 for
free.
e. Release 5 and you registered, you should be receiving Release 6 for free
(see previous section).
f. Release 6 and you registered, you will need to purchase your next
upgrade.  See http://www.palm.com/devzone/tools/cw/ for the latest
information.

Registered useres who RENEWED their CodeWarrior for Palm Computing Platform
subscription....

In situation "a" or "b" above, you paid $269 and will receive Release 6 & 7
for free.
In situation "c" above, you paid $269 and will receive Release 5 & 6 for
free.
In situation "d" above, you paid $269 and will receive Release 6 & 7 for
free.
In situation "e" above, per the new release policy effective 5/3/99
Metrowerks Support Changes http://www.palm.com/devzone/tools/cw/, future
upgrades (such as to version 7) must be purchased annually on the web for
$189.  Please keep your registration number handy when purchasing your
upgrade on the web http://palmorder.modusmedia.com/.


TO PURCHASE CodeWarrior for Palm Computing Platform?
- ------------
http://palmorder.modusmedia.com/.
800-881-7256 within the US
800-891-6342 in Canada
801-431-1536 rest of world


TO REGISTER my copy of CodeWarrior for Palm Computing Platform?
- -----------
To register your copy of CodeWarrior, you should register online at
http://www.palm.com/devzone/cw/register.html. Please note that you will need
to have your serial number (which is on your registration card) handy.

I hope this helps clarify the situation. If you have any further questions,
feel free to let me know.

Rgds,
Jun-Kiat Lam
Metrowerks Technical Support



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

Date: 8 Nov 1999 09:39:26 -0800
From: "Dan Hod" <[EMAIL PROTECTED]>
Subject: Multibit icons in CW6 (with the 1.2b4 constructor)

The constructor does not save changes for multibit icons...  :o(
What should we do?

Regards,

Dan Hod
R&D Manager
The PalmMate Team

Gotta Palm? Gotta visit www.PalmMate.com



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

Date: 8 Nov 1999 09:43:27 -0800
From: <[EMAIL PROTECTED]>
Subject: RE: [Announcement] CodeWarrior for Palm R6 upgrades and
registration

>Unregistered CodeWarrior for Palm Computing platform Release 5 customers
>must register to receive their free Release 6 upgrade.  Please register at
>http://www.palm.com/devzone/cw/register.html.  You should receive your
>update within 4-6 weeks of registration.

And I get :

Sorry, the page you've requested is not available

from the above URL.


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

Date: 8 Nov 1999 09:45:31 -0800
From: "Jun-Kiat Lam" <[EMAIL PROTECTED]>
Subject: Re: Multibit icons in CW6 (with the 1.2b4 constructor)

Hi Dan,

This is yet another known bug in Constructor that we are pushing to fix
ASAP. The problem is with the Altura porting library that came with R6. I
have a workaround for it which I will send to you directly. We apologize for
the inconvenience caused.

Rgds,
Jun-Kiat Lam
Metrowerks Technical Support

- ----- Original Message -----
From: Dan Hod <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 08, 1999 11:31 AM
Subject: Multibit icons in CW6 (with the 1.2b4 constructor)


> The constructor does not save changes for multibit icons...  :o(
> What should we do?
>
> Regards,
>
> Dan Hod
> R&D Manager
> The PalmMate Team
>
> Gotta Palm? Gotta visit www.PalmMate.com
>
>



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

Date: 8 Nov 1999 09:49:26 -0800
From: "Jun-Kiat Lam" <[EMAIL PROTECTED]>
Subject: Re: [Announcement] CodeWarrior for Palm R6 upgrades and
registration

Hi Bryan,

I believe it is temporarily down now. You might want to try again a little
later. Sorry about the inconvenience. Let me know if it still doesn't work.

Rgds,
Jun-Kiat Lam
Metrowerks Technical Support

- ----- Original Message -----
From: Bryan Nystrom <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 08, 1999 11:36 AM
Subject: RE: [Announcement] CodeWarrior for Palm R6 upgrades and
registration


> >Unregistered CodeWarrior for Palm Computing platform Release 5 customers
> >must register to receive their free Release 6 upgrade.  Please register
at
> >http://www.palm.com/devzone/cw/register.html.  You should receive your
> >update within 4-6 weeks of registration.
>
> And I get :
>
> Sorry, the page you've requested is not available
>
> from the above URL.
>



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

Date: 8 Nov 1999 10:07:14 -0800
From: "Dave Lippincott" <[EMAIL PROTECTED]>
Subject: Re: Most simple way of sending data from cradled Palm...

>I presume that I cannot use the Serial Manager since HotSync will own the
>COM port on the Windows side.
Not true.

>Or is there a simpler way of doing this?
The simplest way is to use the serial manager routines.  As long as hotsync
is not currently running, your program can use the serial port (and Ir port)

- -----Original Message-----
From: Scott Simpson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, November 08, 1999 11:36 AM
Subject: Most simple way of sending data from cradled Palm...


>Hey gang,
>
>Long-time listener, first time caller.
>
>I am attempting to send a few bytes of data from a cradled Palm to a
Windows
>app via the serial cable.
>
>I presume that I cannot use the Serial Manager since HotSync will own the
>COM port on the Windows side.
>
>So, I am left with something simple like a Berkeley-style socket from the
>Palm to the Windows app, which sounds simple enough.
>
>The problem I have is the connection from the Palm to Windows app.
>Specifically, it seems as though I cannot just open a socket connection
>between the two; it seems like I need to implement a PPP server on the
>Windows side just so the Palm can make the connection.  This seems awfully
>severe-- is this really necessary?
>
>The opening/writing/reading/closing of the socket is straightforward
enough,
>but I need some assistance figuring out how to make the connection in the
>first place.
>
>Or is there a simpler way of doing this?
>
>Hopefully, that's clear.  Any help would be much appreciated.  I hope I'm
>missing something obvious...
>
>Thanks,
>Scott
>
>




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

Date: 8 Nov 1999 10:09:19 -0800
From: "Mark Lussier" <[EMAIL PROTECTED]>
Subject: Re: Multibit icons in CW6 (with the 1.2b4 constructor)

I've noticed and have also heard about quite a few problems with release 6
of metrowerks for the palm.

Is there a list of known troubles available somewhere ?
(possibly with a hopeful date for a fix patch)

Maybe I'm in a minority, but release 5 (with patches) seems to work better
for me than release 6.

thanks,
Mark
Actual Software
http://www.actualsoft.com

- ----- Original Message -----
From: Jun-Kiat Lam <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 08, 1999 12:37 PM
Subject: Re: Multibit icons in CW6 (with the 1.2b4 constructor)


>Hi Dan,
>
>This is yet another known bug in Constructor that we are pushing to fix
>ASAP. The problem is with the Altura porting library that came with R6. I
>have a workaround for it which I will send to you directly. We apologize
for
>the inconvenience caused.
>
>Rgds,
>Jun-Kiat Lam
>Metrowerks Technical Support
>
>----- Original Message -----
>From: Dan Hod <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, November 08, 1999 11:31 AM
>Subject: Multibit icons in CW6 (with the 1.2b4 constructor)
>
>
>> The constructor does not save changes for multibit icons...  :o(
>> What should we do?
>>
>> Regards,
>>
>> Dan Hod
>> R&D Manager
>> The PalmMate Team
>>
>> Gotta Palm? Gotta visit www.PalmMate.com
>>
>>
>
>
>



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

Date: 8 Nov 1999 10:14:28 -0800
From: Jon Baer <[EMAIL PROTECTED]>
Subject: Re: [Announcement] CodeWarrior for Palm R6 upgrades and
registration

He gave out the wrong URL by accident probably, try:

http://www.palm.com/devzone/tools/cw/register.html

Im assuming this is the one he meant.

- - Jon

Bryan Nystrom wrote:

> >Unregistered CodeWarrior for Palm Computing platform Release 5 customers
> >must register to receive their free Release 6 upgrade.  Please register
at
> >http://www.palm.com/devzone/cw/register.html.  You should receive your
> >update within 4-6 weeks of registration.
>
> And I get :
>
> Sorry, the page you've requested is not available
>
> from the above URL.



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

Date: 8 Nov 1999 10:19:43 -0800
From: Steve Sabram <[EMAIL PROTECTED]>
Subject: Re: Most simple way of sending data from cradled Palm...



Scott Simpson wrote:

> Hey gang,
>
> Long-time listener, first time caller.
>
> I am attempting to send a few bytes of data from a cradled Palm to a
Windows
> app via the serial cable.
>
> I presume that I cannot use the Serial Manager since HotSync will own the
> COM port on the Windows side.

That is a false assumtion.  Nothing is "seized" on the action of inserting
the
device into the cradle unlike other more unsocial environments.

>
> So, I am left with something simple like a Berkeley-style socket from the
> Palm to the Windows app, which sounds simple enough.

[snip]

> Or is there a simpler way of doing this?
>

Yes there is.  First, you can use the Serial Manager when the device is in
the
cradle.  HotSync is just another application that communicates with the
desktop.

The "magic" of it is that this is the default application launched when the
HotSync cradle button is pressed.  You can write you app to trap the hardChr
character event that is created by the HotSync button.  You can even set
your
application to be the one that launched when the local HotSync button is
pressed
via the Prefs application.

I assume you don't desire to work with the desktop HotSync Manager.  That is
fine.  You'll just need to make sure that your Windows application is
running
and has control of the cradle serial port before you Palm application starts
up.

A good first try of this is to write a program that sends and receives
characters on the Palm and then startup a terminal emulator on the desktop
to
make sure it is communicating across the serial port.

Steve

>
> Hopefully, that's clear.  Any help would be much appreciated.  I hope I'm
> missing something obvious...
>
> Thanks,
> Scott



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

Date: 8 Nov 1999 10:38:58 -0800
From: Jason Dawes <[EMAIL PROTECTED]>
Subject: Re: Does CW6 break the 64K segment limit?

At 09:54 AM 11/8/99 -0600, you wrote:
>Hi Phil,
>
>Actually, the 64K per segment limit is a limit imposed by the Palm OS. You
>may be referring to the ability to build multi-segment applications which
>are a way to build apps bigger than 64K. BTW, this ability has been in
>CodeWarrior since release 4.
>

What about multi-segment shared libraries?



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

Date: 8 Nov 1999 11:10:04 -0800
From: [EMAIL PROTECTED]
Subject: Re: Conduit dialog help



Thom,

It is possible to pop-up a dialog from a conduit, the same way you would
pop-up
a dialog from a .dll in Windows. However, a conduit should avoid user input,
if
possible. In the case of a network HotSync(R) action (or dial-in sync), the
dialog will be popped up on the user's home PC, not the one they are
synchronizing from.

If input is required, the dialog should time-out after a short time if no
input
is provided to enable the sync process to proceed if syncing remotely.

- -Geoff RIchmond
Palm Computing Developer Support




"Thom Stilwill" <[EMAIL PROTECTED]> on 11/08/99 05:23:28 AM

Please respond to [EMAIL PROTECTED]

Sent by:  "Thom Stilwill" <[EMAIL PROTECTED]>


To:   "Palm-Dev-Forum @3com. Com" <[EMAIL PROTECTED]>
cc:    (Geoff Richmond/HQ/3Com)
Subject:  Conduit dialog help




ConduitFolks,

I'm trying to write a VC++ 5.0 conduit that will popup a dialog during the
hotsync process.  Can someone tell me if this is possible and if so how to
do it.

Many thanks in advance.

Regards,

Thom Stilwill
[EMAIL PROTECTED]
ICQ: 2267468








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

Date: 8 Nov 1999 11:12:37 -0800
From: [EMAIL PROTECTED]
Subject: Re: how to programmaticaly update the version of a Palm program



> I have another question for you guys :
 > how can I programmaticaly install a new version of a program.
 > say I have to update the version of my program at next hotsync
>
 > many thanks in advance,
 > Luci

please see the Install Aide API in CDK 3.0.

- -Geoff Richmond
Palm Computing Developer Support





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

Date: 8 Nov 1999 11:19:29 -0800
From: "Scott Simpson" <[EMAIL PROTECTED]>
Subject: Re: Most simple way of sending data from cradled Palm...

Dave Lippincott wrote:
>I wrote:
>>I presume that I cannot use the Serial Manager since HotSync will own the
>>COM port on the Windows side.
>Not true.

>>Or is there a simpler way of doing this?
>The simplest way is to use the serial manager routines.  As long as hotsync
>is not currently running, your program can use the serial port (and Ir
port)

Sorry-- I must have not been clear.  I am assuming that the Windows user
will always have the HotSync manager running in the background since it's by
default in their Startup group.  It obviously won't always be synching with
the Palm, but it will always have control of the COM port while it's running
and in the system tray.

That will always tie up the COM port, right?  Unless there is a sneaky way
to piggyback on top of the HotSync Manager and read a few bytes of data here
and there, but I don't think that's what you're saying.

Thanks anyway for the reply, I do appreciate it,
Scott.



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

Date: 8 Nov 1999 11:23:36 -0800
From: Danny Epstein <[EMAIL PROTECTED]>
Subject: Re: Beaming Debuging

At 4:31 PM +0200 11/8/99, Dan Hod wrote:
>What is the best way to debug beaming?

Use "shortcut dot t" to toggle exchange manager into loop-back mode. This
will
cause the outgoing beam to be received by the same device that's doing the
sending. You can then beam with the debugger attached. This should work on
the
emulator and on the device. The (Mac) simulator is always in loop-back mode.

If you're working with the IR library rather than the exchange manager,
debugging becomes very difficult. But that's another story!

Good luck.
- -
Danny Epstein, Applied Thought Corporation
Have friends with Palm organizers? Get BeamBooks!
http://www.appliedthought.com/beambooks


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

Date: 8 Nov 1999 11:27:34 -0800
From: "Michael S. Davis" <[EMAIL PROTECTED]>
Subject: Re: FldSetFont Question - Still have problem


Ok, I have looked at everything I can find and the only difference
That I can see with this FldSetFont() issue is the difference
in attributes of the fields.

Since, this function worked with form2 and field1 and not
with form2 and field2, I decided to make the field2 attributes
the same as field1.  Sure enough, if the field2 is changed
to a multi-line field, like field1, I do not get the error.

The error was "app has just written to low memory, "NULL""

Why does this function fail on a single line field?  I have ruled
out all other attributes as the casue.  Only lingle-line fields
cause this error when AdjustFieldFont() is executed.

Mike

On Mon, 8 Nov 1999, Holger Klawitter wrote:

>
> > void AdjustFieldFont(Word fldID, int width) {
> >     FormPtr     form;
> >     FieldPtr    fldP;
> >
> >     form = FrmGetActiveForm();
> >     fldP = FrmGetObjectPtr(form, FrmGetObjectIndex(form, fldID));
> >     if(FldGetTextLength(fldP)>width) {
> >         FldSetFont(fldP, stdFont);
> >     }
> >     else {
> >         FldSetFont(fldP, largeFont);
> >     }
> > }
>
> > What can cause the error: "app has just read from memory location
> > zero, NULL" when changing font size.  Both fields have characters
> > inserted from global arrays of characters.
>
> Normally this error occurs when the text handle is not properly
> set. You might want to check with FldGetTextHandle before getting
> the text length. The reason for one field having a handle and the
> other not might be that the first one had the focus.
>
> Hope this helps,
>       Holger Klawitter
> --
> Holger Klawitter                                     +49 (0)251 484 0637
> [EMAIL PROTECTED]                             http://www.klawitter.de/
>
>
>

- ----------------------------------------------------
Shoot-to-Win

Protect the 2nd Amendment
- ----------------------------------------------------



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

Date: 8 Nov 1999 11:30:54 -0800
From: "Michael S. Davis" <[EMAIL PROTECTED]>
Subject: Kinda off-topic, Palm TV commercial

I saw an interesting TV commercial where a young lady
was on a train.  She was interested in a young man on
a different train.

Anyway, to cut to the chase, they were both using Palms
and she beamed her phone number to the guy.

Now I know this is just TV but how far can a Palm
actually beam to another Palm?  Is this different
for different Palm models?



- ----------------------------------------------------
Shoot-to-Win

Protect the 2nd Amendment
- ----------------------------------------------------



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

Date: 8 Nov 1999 11:44:23 -0800
From: "Thiago Rossato" <[EMAIL PROTECTED]>
Subject: Database size limitation?

Is there any limitation for databases size?
We found in the documentation something about 64k of maximum size per
database, but we've created a database with about 300k using about 5000
40-bytes records.
If this 64k limitation is for real, how can we index those 5000 records and
get their right values?
The 2 times we got bug were:
1. when we finished including the last of 5000 records.
2. when we tried to delete it.


Has someone had any experience in this approach?
Thanks in advance.


The source code that we're using to generate the database:

void Create ()
{
 int cont;
 for (cont = 0; cont < 5000; cont ++)
 {
  unsigned short indice;
  VoidHand RecHandle = DmNewRecord (db, &indice, sizeof (Produto));
  Ptr RecPointer = MemHandleLock (RecHandle);
  Produto * produto = MemPtrNew (sizeof (Produto));
  char string [200];
  produto->preco = cont;

  StrIToA (string, cont);
  StrCat (string, " registros");
  WinDrawChars (string, StrLen (string), 20, 20);

  DmWrite (RecPointer, 0, produto, sizeof (Produto));
  MemPtrUnlock (RecPointer);
  DmReleaseRecord (db, indice, true);
 }
}


- --


Thiago Rossato - Desenvolvimento
Sydeco Campinas
[EMAIL PROTECTED]





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

Date: 8 Nov 1999 11:46:19 -0800
From: "Scott Simpson" <[EMAIL PROTECTED]>
Subject: Re: Most simple way of sending data from cradled Palm...

Steve Sabram wrote:
>Scott Simpson wrote:
>>I presume that I cannot use the Serial Manager since HotSync will own the
>>COM port on the Windows side.
>That is a false assumtion.  Nothing is "seized" on the action of inserting
the
>device into the cradle unlike other more unsocial environments.

Yes, but what I meant was that a typical user will always have the HotSync
Manager running in the background of their Windows session since it's in
their startup group.  This (I thought) meant that I cannot count on getting
control of the COM port myself.

>> Or is there a simpler way of doing this?
>Yes there is.  First, you can use the Serial Manager when the device is in
the
>cradle.  HotSync is just another application that communicates with the
>desktop.
[snip]
>I assume you don't desire to work with the desktop HotSync Manager.  That
is
>fine.  You'll just need to make sure that your Windows application is
running
>and has control of the cradle serial port before you Palm application
starts
>up.

Indeed, there is my problem.  I want to work alongside the HotSync app (I'd
like to transfer a few bytes of data while a user is inside an app (not
through a HotSync)).  The problem is that the HotSync is likely to always be
running so I cannot listen in on COM1 for my few bytes of data :-(...

>A good first try of this is to write a program that sends and receives
>characters on the Palm and then startup a terminal emulator on the desktop
to
>make sure it is communicating across the serial port.

Good advice.  I do, in fact, already have a perfectly working app as long as
I can get control of the serial port (i.e. I shutdown the HotSync manager
before I run my app).

Thanks for your reply,
Scott



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

Date: 8 Nov 1999 11:53:05 -0800
From: John Marshall <[EMAIL PROTECTED]>
Subject: Re: Kinda off-topic, Palm TV commercial

Michael S. Davis writes:
> Now I know this is just TV but how far can a Palm
> actually beam to another Palm?  Is this different
> for different Palm models?

A PalmPilot Professional with the Upgrade Card with the IR on It
can Beam through an Elephant.

    John  ":-)"


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

Date: 8 Nov 1999 12:00:34 -0800
From: Scott Johnson <[EMAIL PROTECTED]>
Subject: Re: Kinda off-topic, Palm TV commercial

"Michael S. Davis" wrote:
> Now I know this is just TV but how far can a Palm
> actually beam to another Palm?

It was set in Europe, so those were special metric Palms.  They can beam
several meters instead of just a few feet.  :-)

- -slj-


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

Date: 8 Nov 1999 12:31:58 -0800
From: JB Parrett <[EMAIL PROTECTED]>
Subject: Re: Database size limitation?

>Is there any limitation for databases size?
>We found in the documentation something about 64k of maximum size per
>database, but we've created a database with about 300k using about 5000
>40-bytes records.

The limitation is 64k (minus about 30 bytes) per record, not per
database. And since records are retrieved by index, and index values
are 16-bit unsigned words, the maximum number of records per database
is around 65k. All of the above is subject, of course, to available
storage memory.

JB



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

Date: 8 Nov 1999 12:36:47 -0800
From: "Dave Lippincott" <[EMAIL PROTECTED]>
Subject: Re: Most simple way of sending data from cradled Palm...

Have your app shutdown hotsync and restart it after you're done.

- -----Original Message-----
From: Scott Simpson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, November 08, 1999 2:14 PM
Subject: Re: Most simple way of sending data from cradled Palm...


>Dave Lippincott wrote:
>>I wrote:
>>>I presume that I cannot use the Serial Manager since HotSync will own the
>>>COM port on the Windows side.
>>Not true.
>
>>>Or is there a simpler way of doing this?
>>The simplest way is to use the serial manager routines.  As long as
hotsync
>>is not currently running, your program can use the serial port (and Ir
>port)
>
>Sorry-- I must have not been clear.  I am assuming that the Windows user
>will always have the HotSync manager running in the background since it's
by
>default in their Startup group.  It obviously won't always be synching with
>the Palm, but it will always have control of the COM port while it's
running
>and in the system tray.
>
>That will always tie up the COM port, right?  Unless there is a sneaky way
>to piggyback on top of the HotSync Manager and read a few bytes of data
here
>and there, but I don't think that's what you're saying.
>
>Thanks anyway for the reply, I do appreciate it,
>Scott.
>
>




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

Date: 8 Nov 1999 12:38:29 -0800
From: Bill Berthoud <[EMAIL PROTECTED]>
Subject: multiple resource files in single project

I have 2 projects which have many common resources, and I have factored the
shared ones to a common resource file that is included by both.  Each
project includes this common.rsrc, and it's own resource file for those
resources which are not shared.  This works fine, with the exception of a
linker warning issued: "warning: ignored duplicate resource `mMWC' (16400)
in common.rsrc".  I created common.rsrc by copying the existing resource
file and deleting, but I also tried a simple project to create the new rsrc
from scratch, and got the same results.  I did uncheck the "Generate app
resources" checkbox (this was producing 2 other duplicated, a `tver' and
`tAIN').

This is just a warning, and the resulting application works just fine,
getting resources from both places, but I'd like to eliminate the warning if
possible...

Thanks,
Bill

Bill Berthoud   [EMAIL PROTECTED]  1.603.888.0666 x1080
Puma Technology www.pumatech.com



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

Date: 8 Nov 1999 12:41:42 -0800
From: "Dave Lippincott" <[EMAIL PROTECTED]>
Subject: Re: Database size limitation?

32K of records up to 63.8K each  (64K minus some record overhead)

- -----Original Message-----
From: Thiago Rossato <[EMAIL PROTECTED]>
To: Palm List <[EMAIL PROTECTED]>
Date: Monday, November 08, 1999 2:45 PM
Subject: Database size limitation?


>Is there any limitation for databases size?
>We found in the documentation something about 64k of maximum size per
>database, but we've created a database with about 300k using about 5000
>40-bytes records.
>If this 64k limitation is for real, how can we index those 5000 records and
>get their right values?
>The 2 times we got bug were:
>1. when we finished including the last of 5000 records.
>2. when we tried to delete it.
>
>
>Has someone had any experience in this approach?
>Thanks in advance.
>
>
>The source code that we're using to generate the database:
>
>void Create ()
>{
> int cont;
> for (cont = 0; cont < 5000; cont ++)
> {
>  unsigned short indice;
>  VoidHand RecHandle = DmNewRecord (db, &indice, sizeof (Produto));
>  Ptr RecPointer = MemHandleLock (RecHandle);
>  Produto * produto = MemPtrNew (sizeof (Produto));
>  char string [200];
>  produto->preco = cont;
>
>  StrIToA (string, cont);
>  StrCat (string, " registros");
>  WinDrawChars (string, StrLen (string), 20, 20);
>
>  DmWrite (RecPointer, 0, produto, sizeof (Produto));
>  MemPtrUnlock (RecPointer);
>  DmReleaseRecord (db, indice, true);
> }
>}
>
>
>--
>
>
>Thiago Rossato - Desenvolvimento
>Sydeco Campinas
>[EMAIL PROTECTED]
>
>
>
>




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

Date: 8 Nov 1999 12:42:10 -0800
From: "Dave Lippincott" <[EMAIL PROTECTED]>
Subject: Re: Kinda off-topic, Palm TV commercial

1 meter (3 feet)  I've had mine work as far away as 5 ft.  I don't know if
the differs between models but my Vx seems to beam further than my old III.

- -----Original Message-----
From: Michael S. Davis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, November 08, 1999 2:23 PM
Subject: Kinda off-topic, Palm TV commercial


>I saw an interesting TV commercial where a young lady
>was on a train.  She was interested in a young man on
>a different train.
>
>Anyway, to cut to the chase, they were both using Palms
>and she beamed her phone number to the guy.
>
>Now I know this is just TV but how far can a Palm
>actually beam to another Palm?  Is this different
>for different Palm models?
>
>
>
>----------------------------------------------------
>Shoot-to-Win
>
>Protect the 2nd Amendment
>----------------------------------------------------
>
>




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

Date: 8 Nov 1999 13:15:32 -0800
From: "Jun-Kiat Lam" <[EMAIL PROTECTED]>
Subject: CORRECTION: [ANN] CodeWarrior for Palm R6 upgrades and registration

Dear CodeWarriors,

> Unregistered CodeWarrior for Palm Computing platform Release 5 customers
> must register to receive their free Release 6 upgrade.  Please register at
> http://www.palm.com/devzone/cw/register.html.  You should receive your
> update within 4-6 weeks of registration.

The correct address should actually be
http://www.palm.com/devzone/tools/cw/register.html. I apologize for the
confusion caused, this was a mistake on my part :-(. Hope this clarifies
things.

Rgds,
Jun-Kiat Lam
Metrowerks Technical Support

- ----- Original Message -----
From: Jun-Kiat Lam <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, November 08, 1999 11:20 AM
Subject: [Announcement] CodeWarrior for Palm R6 upgrades and registration


> Dear CodeWarriors,
>
> Due to the recent confusion concerning CodeWarrior for Palm Computing
> platform Release 6 upgrades and registration, I thought I should send this
> to clarify the situation.
>
> GENERAL INFORMATION:
> -------------------
> Please visit http://www.palm.com/devzone/tools/cw/ for the lastest on
> CodeWarrior for Palm Computing Platform.
>
> UPGRADES:
> ---------
> Free Release 6 Upgrades:
> CodeWarrior for Palm Computing platform Release 5 customers who REGISTERED
> their product before October 1, 1999, should be receiving their free
Release
> 6 upgrades in the mail soon - they were shipped out last week.
>
> Unregistered CodeWarrior for Palm Computing platform Release 5 customers
> must register to receive their free Release 6 upgrade.  Please register at
> http://www.palm.com/devzone/cw/register.html.  You should receive your
> update within 4-6 weeks of registration.
>
> Who receives free upgrades?
> -------------------------
> If your FIRST CodeWarrior for Palm Computing Platform purchase was....
>
> a. Developer Release (DR) 1 and you registered, you should have received
> DR2, Relase 3, Release 4, and Release 5 for free.
> b. Developer Release (DR) 2 and you registered, you should have received
> Release 3, Release 4, and Release 5 for free.
> c. Release 3 and you registered, you should have received Release 4 for
> free.
> d. Release 4 and you registered, you should have received Release 5 for
> free.
> e. Release 5 and you registered, you should be receiving Release 6 for
free
> (see previous section).
> f. Release 6 and you registered, you will need to purchase your next
> upgrade.  See http://www.palm.com/devzone/tools/cw/ for the latest
> information.
>
> Registered useres who RENEWED their CodeWarrior for Palm Computing
Platform
> subscription....
>
> In situation "a" or "b" above, you paid $269 and will receive Release 6 &
7
> for free.
> In situation "c" above, you paid $269 and will receive Release 5 & 6 for
> free.
> In situation "d" above, you paid $269 and will receive Release 6 & 7 for
> free.
> In situation "e" above, per the new release policy effective 5/3/99
> Metrowerks Support Changes http://www.palm.com/devzone/tools/cw/, future
> upgrades (such as to version 7) must be purchased annually on the web for
> $189.  Please keep your registration number handy when purchasing your
> upgrade on the web http://palmorder.modusmedia.com/.
>
>
> TO PURCHASE CodeWarrior for Palm Computing Platform?
> ------------
> http://palmorder.modusmedia.com/.
> 800-881-7256 within the US
> 800-891-6342 in Canada
> 801-431-1536 rest of world
>
>
> TO REGISTER my copy of CodeWarrior for Palm Computing Platform?
> -----------
> To register your copy of CodeWarrior, you should register online at
> http://www.palm.com/devzone/cw/register.html. Please note that you will
need
> to have your serial number (which is on your registration card) handy.
>
> I hope this helps clarify the situation. If you have any further
questions,
> feel free to let me know.
>
> Rgds,
> Jun-Kiat Lam
> Metrowerks Technical Support
>



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

Date: 8 Nov 1999 13:23:33 -0800
From: Craig Schofield <[EMAIL PROTECTED]>
Subject: Re: Kinda off-topic, Palm TV commercial

> A PalmPilot Professional with the Upgrade Card with the IR on It
> can Beam through an Elephant.

Was beaming through an Elephant included in Palm Computing's testing of the
IR port?  If so... damn, you guys get all the best toys!

Craig Schofield
SONIC innovations



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

Date: 8 Nov 1999 13:30:20 -0800
From: "Michael S. Davis" <[EMAIL PROTECTED]>
Subject: Re: FldSetFont Question

On Mon, 8 Nov 1999, Holger Klawitter wrote:
> > void AdjustFieldFont(Word fldID, int width) {
> >     FormPtr     form;
> >     FieldPtr    fldP;
> >
> >     form = FrmGetActiveForm();
> >     fldP = FrmGetObjectPtr(form, FrmGetObjectIndex(form, fldID));
> >     if(FldGetTextLength(fldP)>width) {
> >         FldSetFont(fldP, stdFont);
> >     }
> >     else {
> >         FldSetFont(fldP, largeFont);
> >     }
> > }
>
> > What can cause the error: "app has just read from memory location
> > zero, NULL" when changing font size.  Both fields have characters
> > inserted from global arrays of characters.
>
> Normally this error occurs when the text handle is not properly
> set. You might want to check with FldGetTextHandle before getting
> the text length. The reason for one field having a handle and the
> other not might be that the first one had the focus.

This function is called each time I insert a character.  So,
FldGetTextLength() is executed each time I insert a character,
it is only when the FldSetFont() is executed that I get the error.

FldSetFont() is what is generating the error and it only happens,
if the field has single line attribute set to TRUE.  If I change
it to FALSE, it works without error.

Mike


>
> Hope this helps,
>       Holger Klawitter
> --
> Holger Klawitter                                     +49 (0)251 484 0637
> [EMAIL PROTECTED]                             http://www.klawitter.de/
>
>
>

- ----------------------------------------------------
Shoot-to-Win

Protect the 2nd Amendment
- ----------------------------------------------------



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

Date: 8 Nov 1999 13:48:01 -0800
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: [Announcement] CodeWarrior for Palm R6 upgrades and registrat
ion


> -----Original Message-----
> From: Jun-Kiat Lam [mailto:[EMAIL PROTECTED]]
>
> Unregistered CodeWarrior for Palm Computing platform Release
> 5 customers
> must register to receive their free Release 6 upgrade.
> Please register at
> http://www.palm.com/devzone/cw/register.html.  You should receive your
> update within 4-6 weeks of registration.

This page does not exist.

> e. Release 5 and you registered, you should be receiving
> Release 6 for free
> (see previous section).

I believe that I registered r5 when I bought it, but do not
know if I used my work address (which is the same) or my home
address (which has changed).  How can I check on this?

> Registered useres who RENEWED their CodeWarrior for Palm
> Computing Platform
> subscription....

Please supply more information about "renewal".  Who/what/where
do we go for this once we get r6?

>
>
> TO REGISTER my copy of CodeWarrior for Palm Computing Platform?
> -----------
> To register your copy of CodeWarrior, you should register online at
> http://www.palm.com/devzone/cw/register.html. Please note
> that you will need
> to have your serial number (which is on your registration card) handy.
>

Ok, I have the manuals & the CD, but I can not find the reg
card ... if I did -not- register (or they lost my registration)
what recourse do I have w/o this card?



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

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


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

Date: 8 Nov 1999 14:15:01 -0800
From: <[EMAIL PROTECTED]>
Subject: RE: [Announcement] CodeWarrior for Palm R6 upgrades and
registration

>
> I believe that I registered r5 when I bought it, but do not
> know if I used my work address (which is the same) or my home
> address (which has changed).  How can I check on this?
>

Per a suggestion from Jun-Kait, I dropped a note to [EMAIL PROTECTED]
and asked about my registration status.  Within a few days, I got a note
with my information.  This might be the right place to ask.

HTH,

- -Paul
- --
Paul Dugas, Computer Engineer                         mailto:[EMAIL PROTECTED]
Dugas Enterprises, LLC             At The Ga. DOT     http://pauld.dugas.com
1711 Indian Ridge Drive           tel:404-624-7840          tel:770-516-4955
Woodstock, GA 30189-6856, USA     fax:404-624-7842          fax:770-516-4841



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

Date: 8 Nov 1999 14:18:35 -0800
From: "Oguri, Joe" <[EMAIL PROTECTED]>
Subject: Palm Code Generator from PilRC Resource File


   Lazy programmer that I am, I wrote a utility (For the PC.. a DOS program)
that will convert a resource file to GNUC code.

 PalmGen.exe is a DOS based program that will take a Palm Resource file
(PilRc format) and generate GNUC source code that will set up form handlers
for all of the forms that are defined in the resource file, object handlers
for the objects in each form, and menu handlers for each menu. The idea is
to use a GUI resource editor (like Arbor Builder) to create all of your
forms and objects in those forms, then use this tool to create the GNUC code
for a working prototype, or skeletal framework.
If you are interested, you can snag a copy at:
http://www.geocities.com/projpunch
It's freeware, so don't hurt yourself with it. Let me know what you think. I
posted the source code as well, but it's not pretty. What I thought would be
a day's work turned into a 2 week obsession. It may not be perfect, but I
think it can save you a lot of time if you are starting a large Palm project
(tons of forms with tons of form objects, and several menus to keep track
of) .
   Joe




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

Date: 8 Nov 1999 16:07:50 -0800
From: Kenneth Whitehead <[EMAIL PROTECTED]>
Subject: frmCustomAlert - POSE vs Palm


I am new at this.  I thought it would be fun to learn to write programs for
the Palm Pilot.  I am trying to teach myself using a book (The Palm
Programming Developer's Guide by Neil Rhodes).  I started by writing a
simple program to retrieve the Palm OS version number.  I already have a
problem.
The program uses FtrGet to acquire the OS Version and StrIToH to convert it
to a printable format.  It then uses a custom alert to show the version
number.  I use GCC for Palm and PilRC and the program compiles fine.  It
also runs with no problem using POSE.  But when I Hotsynch the program down
to the pilot, the version number is blank and I get a "beep" which I think
indicates a problem.  No error message, etc. is shown.  Also, sometimes it
seems that when I download a new version of the program to the palm, I
still get the old version.  (Even when I delete it.)
Has anybody encountered the same problem?  I will attach my .c module and
the .rcp file.  I am truly stumped.  I would greatly appreciate any help


******************* NOTE *******************
There may be important message content
contained in the following MIME Information.
********************************************


- ------------------ MIME Information follows ------------------

- --=====================_942123791==_
Content-Type: text/plain; charset="us-ascii"

<<<<<< See above "Message Body" >>>>>>

- --=====================_942123791==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="CBUPalm.bak.txt"

/*
        CBUPalm.c
        For Palm Pilot access to the Check Book Utility
        by Ken Whitehead
*/
#include <Pilot.h>
#include "CBUPalm.h"
#ifdef __GNUC__
  #include "Callbacks.h"
#endif

// for definition of IsDigit
#include <CharAttr.h>
#include <SysEvtMgr.h>

static int StartApplication(void);
static void StopApplication(void);
static void EventLoop(void);
static Boolean ApplicationHandleEvent(EventPtr event);
static Boolean CBUFormHandleEvent(EventPtr event);

DWord PilotMain(Word cmd, Ptr cmdPBP, Word launchFlags)
{
  Err err = 0;
  if (cmd == sysAppLaunchCmdNormalLaunch)
  {
    if ((err = StartApplication()) == 0)
    {
        EventLoop();
        StopApplication();
    }
  }
return err;
}

static int StartApplication(void)
{
    FrmGotoForm(CBUPalmForm);
    return 0;
}

static void StopApplication(void)
{
}

static void EventLoop(void)
{
  EventType     event;
  Word          error;

  do {
     EvtGetEvent(&event, evtWaitForever);
       if (! SysHandleEvent(&event))
         if (! MenuHandleEvent(0, &event, &error))
           if (! ApplicationHandleEvent(&event))
             FrmDispatchEvent(&event) ;
     } while (event.eType != appStopEvent) ;
}

static Boolean ApplicationHandleEvent(EventPtr event)
{
  FormPtr       frm;
  Int           formId;
  Boolean       handled = false;

  if (event->eType == frmLoadEvent)
    {
        // Load the form resource specified in the event
        // then activate the form.
    formId = event->data.frmLoad.formID;
    frm = FrmInitForm(formId);
    FrmSetActiveForm(frm);
        // Set the event handler for the form.
        // The handler of the currently
        // active form is called by FrmDispatchEvent
        // each time it receives an event.
    switch (formId)
        {
        case CBUPalmForm:
          FrmSetEventHandler(frm, CBUFormHandleEvent);
          break;
        }
    handled = true;
    }
  return handled;
}


static Boolean CBUFormHandleEvent(EventPtr event)
{
  Boolean       handled;
  Err           err ;
  DWord         romVersion ;
  char          chrVersion[10] ;
#ifdef __GNUC__
        CALLBACK_PROLOGUE
#endif
  handled = false;
  err = 0 ;

  switch (event->eType)
  {
  case ctlSelectEvent:
           // The Version button was pressed.
    if ((err = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romVersion)) ==
0)
    {
      StrIToH(chrVersion, romVersion) ;
      FrmCustomAlert(VersionAlert, chrVersion, NULL, NULL);
    }
    else        FrmAlert(Version_error) ;
    handled = true;
    break;
  case frmOpenEvent:
    FrmDrawForm(FrmGetActiveForm());
    handled = true;
    break;
  case menuEvent:
    if (event->data.menu.itemID == FirstBeep)
      SndPlaySystemSound(sndInfo);
    else
      SndPlaySystemSound(sndStartUp);
    handled = true;
    break;
  }
#ifdef __GNUC__
        CALLBACK_EPILOGUE
#endif
  return(handled);
}






- --=====================_942123791==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="CBUPalm.rcp"

#include "CBUPalm.h"



FORM ID CBUPalmForm AT (3 3 157 157)
FRAME
MENUID CBUPalmMenuBar
BEGIN
    TITLE "Family Check Book Utility"
    BUTTON "Palm OS Version" ID CBUPalmButton AT (CENTER 91 AUTO AUTO)
LEFTANCHOR FRAME FONT 0
END

VERSION 1 "1.1"

MENU ID CBUPalmMenuBar
BEGIN
    PULLDOWN "First"
    BEGIN
        MENUITEM "Beep" ID FirstBeep
    END

    PULLDOWN "Second"
    BEGIN
        MENUITEM "Beep more" ID SecondBeepmore
    END
END

ALERT ID VersionAlert
INFORMATION
BEGIN
    TITLE "Palm OS Version"
    MESSAGE "The Current Palm OS Version is ^1 "
    BUTTONS "Done"
END

ALERT ID VersionError
ERROR
BEGIN
    TITLE "ERROR"
    MESSAGE "Can Not Obtain the Current Version"
    BUTTONS "OK"
END
- --=====================_942123791==_--



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

Date: 8 Nov 1999 16:21:00 -0800
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: Most simple way of sending data from cradled Palm...

I think the upshot of this thread is that it would
be nice if Palm added a "serial port pass-through"
API in the HotSync.exe program, so that we could send
serial data to/from the Palm w/o having to first
shut HotSync.exe off.

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

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


> -----Original Message-----
> From: Scott Simpson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 08, 1999 11:38 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Most simple way of sending data from cradled Palm...
>
>
> Steve Sabram wrote:
> >Scott Simpson wrote:
> >>I presume that I cannot use the Serial Manager since
> HotSync will own the
> >>COM port on the Windows side.
> >That is a false assumtion.  Nothing is "seized" on the
> action of inserting
> the
> >device into the cradle unlike other more unsocial environments.
>
> Yes, but what I meant was that a typical user will always
> have the HotSync
> Manager running in the background of their Windows session
> since it's in
> their startup group.  This (I thought) meant that I cannot
> count on getting
> control of the COM port myself.
>
> >> Or is there a simpler way of doing this?
> >Yes there is.  First, you can use the Serial Manager when
> the device is in
> the
> >cradle.  HotSync is just another application that
> communicates with the
> >desktop.
> [snip]
> >I assume you don't desire to work with the desktop HotSync
> Manager.  That
> is
> >fine.  You'll just need to make sure that your Windows application is
> running
> >and has control of the cradle serial port before you Palm application
> starts
> >up.
>
> Indeed, there is my problem.  I want to work alongside the
> HotSync app (I'd
> like to transfer a few bytes of data while a user is inside
> an app (not
> through a HotSync)).  The problem is that the HotSync is
> likely to always be
> running so I cannot listen in on COM1 for my few bytes of data :-(...
>
> >A good first try of this is to write a program that sends
> and receives
> >characters on the Palm and then startup a terminal emulator
> on the desktop
> to
> >make sure it is communicating across the serial port.
>
> Good advice.  I do, in fact, already have a perfectly working
> app as long as
> I can get control of the serial port (i.e. I shutdown the
> HotSync manager
> before I run my app).
>
> Thanks for your reply,
> Scott
>
>


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

Date: 8 Nov 1999 16:26:28 -0800
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: Most simple way of sending data from cradled Palm...

I think the upshot of this thread is that it would
be nice if Palm added a "serial port pass-through"
API in the HotSync.exe program, so that we could send
serial data to/from the Palm w/o having to first
shut HotSync.exe off.

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

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


> -----Original Message-----
> From: Scott Simpson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 08, 1999 11:38 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Most simple way of sending data from cradled Palm...
>
>
> Steve Sabram wrote:
> >Scott Simpson wrote:
> >>I presume that I cannot use the Serial Manager since
> HotSync will own the
> >>COM port on the Windows side.
> >That is a false assumtion.  Nothing is "seized" on the
> action of inserting
> the
> >device into the cradle unlike other more unsocial environments.
>
> Yes, but what I meant was that a typical user will always
> have the HotSync
> Manager running in the background of their Windows session
> since it's in
> their startup group.  This (I thought) meant that I cannot
> count on getting
> control of the COM port myself.
>
> >> Or is there a simpler way of doing this?
> >Yes there is.  First, you can use the Serial Manager when
> the device is in
> the
> >cradle.  HotSync is just another application that
> communicates with the
> >desktop.
> [snip]
> >I assume you don't desire to work with the desktop HotSync
> Manager.  That
> is
> >fine.  You'll just need to make sure that your Windows application is
> running
> >and has control of the cradle serial port before you Palm application
> starts
> >up.
>
> Indeed, there is my problem.  I want to work alongside the
> HotSync app (I'd
> like to transfer a few bytes of data while a user is inside
> an app (not
> through a HotSync)).  The problem is that the HotSync is
> likely to always be
> running so I cannot listen in on COM1 for my few bytes of data :-(...
>
> >A good first try of this is to write a program that sends
> and receives
> >characters on the Palm and then startup a terminal emulator
> on the desktop
> to
> >make sure it is communicating across the serial port.
>
> Good advice.  I do, in fact, already have a perfectly working
> app as long as
> I can get control of the serial port (i.e. I shutdown the
> HotSync manager
> before I run my app).
>
> Thanks for your reply,
> Scott
>
>


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

Date: 8 Nov 1999 16:26:44 -0800
From: Richard Hartman <[EMAIL PROTECTED]>
Subject: RE: [Announcement] CodeWarrior for Palm R6 upgrades and registrat
ion

Thanks!

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

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


> -----Original Message-----
> From: Paul A. Dugas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 08, 1999 2:07 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Announcement] CodeWarrior for Palm R6 upgrades and
> registration
>
>
> >
> > I believe that I registered r5 when I bought it, but do not
> > know if I used my work address (which is the same) or my home
> > address (which has changed).  How can I check on this?
> >
>
> Per a suggestion from Jun-Kait, I dropped a note to
> [EMAIL PROTECTED]
> and asked about my registration status.  Within a few days, I
> got a note
> with my information.  This might be the right place to ask.
>
> HTH,
>
> -Paul
> --
> Paul Dugas, Computer Engineer
> mailto:[EMAIL PROTECTED]
> Dugas Enterprises, LLC             At The Ga. DOT
> http://pauld.dugas.com
> 1711 Indian Ridge Drive           tel:404-624-7840
> tel:770-516-4955
> Woodstock, GA 30189-6856, USA     fax:404-624-7842
> fax:770-516-4841
>
>


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

Date: 8 Nov 1999 18:32:14 -0800
From: "Mike Davis" <[EMAIL PROTECTED]>
Subject: Hacks - Do they reduce resources

Do stacks reduce the amount of available resources like
dynamic heap or stack space?

Assuming no direct conflict, can the mere presence of hacks
cause applications to crash?

Mike
- --
- -----------------------------------------------------------------
Discussion Group:        http://www.halcyon.com/ipscone/wwwboard/

Protect your constitutional rights. Your favorite one may be next!
- -----------------------------------------------------------------


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

Date: 8 Nov 1999 19:10:37 -0800
From: Kai <[EMAIL PROTECTED]>
Subject: Re: Major CW R6 irritation

> I just noticed, after installing CW R6 (Lite, actually), that CW has now
> associated itself -- without asking! -- with all my C source files. That
is,
> its icon is now next to all my source files and it is the app that will
open
> if I dbl-click on a .c, .h, .cpp, etc. file. This is a major irritation
for
> me when a product does this. For one thing, I use Premia's CodeWright as
my
> general program editor and had it as the default app for all source files.
> Plus, I also use MS VC++ for Windows-based development. In other words, I
> did not want CodeWarrior "taking over" my source files in this way. And it
> is a major pain to change things back. This should be an install option!
>
> For what it's worth, I've also found this same problem with many types of
> graphic utility programs -- whenever you install them, they go and
associate
> themselves with your .jpg and .gif files, etc.
>
> Doug Gordon
>
You can set the association back by editing the registry.  As I am using
Window now, I cannot tell you under which key.  But I suspect it is the
local machine/software portion.  You should be able to locate entry such as
"cpp", "c" etc and change the value to the path to the application you want
to open the file with.



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

Date: 8 Nov 1999 19:43:21 -0800
From: "Matthew D Moss" <[EMAIL PROTECTED]>
Subject: Re: Major CW R6 irritation

> > I just noticed, after installing CW R6 (Lite, actually), that CW has now
> > associated itself -- without asking! -- with all my C source files. That
is,
> > its icon is now next to all my source files and it is the app that will
open
> > if I dbl-click on a .c, .h, .cpp, etc. file.
>
> You can set the association back by editing the registry.  As I am using
> Window now, I cannot tell you under which key.  But I suspect it is the
> local machine/software portion.  You should be able to locate entry such
as
> "cpp", "c" etc and change the value to the path to the application you
want
> to open the file with.

Why edit the registry by hand?  Windows provides this functionality.  Under
my Windows NT setup, you go to Explorer's "View" menu, select "Folder
Options...", then click the "File Types" tab at the top.  Now you can edit
file associations easily.  Accessing this panel from Win9x is a similar
procedure.

- ---- --- -- -
Matthew D Moss
[EMAIL PROTECTED]




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

Date: 8 Nov 1999 19:58:23 -0800
From: Brian Mathis <[EMAIL PROTECTED]>
Subject: Re: Major CW R6 irritation

Kai wrote:
>
> > I just noticed, after installing CW R6 (Lite, actually), that CW has now
> > associated itself -- without asking! -- with all my C source files. That
is,
> > its icon is now next to all my source files and it is the app that will
open
> > if I dbl-click on a .c, .h, .cpp, etc. file. This is a major irritation
for
> > me when a product does this. For one thing, I use Premia's CodeWright as
my
> > general program editor and had it as the default app for all source
files.
> > Plus, I also use MS VC++ for Windows-based development. In other words,
I
> > did not want CodeWarrior "taking over" my source files in this way. And
it
> > is a major pain to change things back. This should be an install option!
> >
> > For what it's worth, I've also found this same problem with many types
of
> > graphic utility programs -- whenever you install them, they go and
associate
> > themselves with your .jpg and .gif files, etc.
> >
> > Doug Gordon
> >
> You can set the association back by editing the registry.  As I am using
> Window now, I cannot tell you under which key.  But I suspect it is the
> local machine/software portion.  You should be able to locate entry such
as
> "cpp", "c" etc and change the value to the path to the application you
want
> to open the file with.

No need to edit the registry, just go to "View/Folder Options/File
Types" from and Explorer window.

- --
Brian Mathis
Direct Edge


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

Date: 8 Nov 1999 20:59:01 -0800
From: "Mike Davis" <[EMAIL PROTECTED]>
Subject: Re: Major CW R6 irritation


You don't have to go edit the registry.  Just open Explorer and select
View-->Folder Options and set the file associations for whichever
files you like.

> > I just noticed, after installing CW R6 (Lite, actually), that CW has now
> > associated itself -- without asking! -- with all my C source files. That
is,
> > its icon is now next to all my source files and it is the app that will
open
> > if I dbl-click on a .c, .h, .cpp, etc. file. This is a major irritation
for
> > me when a product does this. For one thing, I use Premia's CodeWright as
my
> > general program editor and had it as the default app for all source
files.
> > Plus, I also use MS VC++ for Windows-based development. In other words,
I
> > did not want CodeWarrior "taking over" my source files in this way. And
it
> > is a major pain to change things back. This should be an install option!
> >
> > For what it's worth, I've also found this same problem with many types
of
> > graphic utility programs -- whenever you install them, they go and
associate
> > themselves with your .jpg and .gif files, etc.
> >
> > Doug Gordon
> >
> You can set the association back by editing the registry.  As I am using
> Window now, I cannot tell you under which key.  But I suspect it is the
> local machine/software portion.  You should be able to locate entry such
as
> "cpp", "c" etc and change the value to the path to the application you
want
> to open the file with.
>
>


- --
- -----------------------------------------------------------------
Discussion Group:        http://www.halcyon.com/ipscone/wwwboard/

Protect your constitutional rights. Your favorite one may be next!
- -----------------------------------------------------------------


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

Date: 8 Nov 1999 21:09:48 -0800
From: "Jun-Kiat Lam" <[EMAIL PROTECTED]>
Subject: Re: Multibit icons in CW6 (with the 1.2b4 constructor)

We don't have a firm date yet for a patch, but we do want to get the
problems resolved as soon as possible. I'll let you all know as soon as I
have something.

Rgds,
Jun-Kiat Lam
Metrowerks Technical Support

- ----- Original Message -----
From: Mark Lussier <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 08, 1999 11:59 AM
Subject: Re: Multibit icons in CW6 (with the 1.2b4 constructor)


> I've noticed and have also heard about quite a few problems with release 6
> of metrowerks for the palm.
>
> Is there a list of known troubles available somewhere ?
> (possibly with a hopeful date for a fix patch)
>
> Maybe I'm in a minority, but release 5 (with patches) seems to work better
> for me than release 6.
>
> thanks,
> Mark
> Actual Software
> http://www.actualsoft.com
>
> ----- Original Message -----
> From: Jun-Kiat Lam <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, November 08, 1999 12:37 PM
> Subject: Re: Multibit icons in CW6 (with the 1.2b4 constructor)
>
>
> >Hi Dan,
> >
> >This is yet another known bug in Constructor that we are pushing to fix
> >ASAP. The problem is with the Altura porting library that came with R6. I
> >have a workaround for it which I will send to you directly. We apologize
> for
> >the inconvenience caused.
> >
> >Rgds,
> >Jun-Kiat Lam
> >Metrowerks Technical Support
> >
> >----- Original Message -----
> >From: Dan Hod <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Monday, November 08, 1999 11:31 AM
> >Subject: Multibit icons in CW6 (with the 1.2b4 constructor)
> >
> >
> >> The constructor does not save changes for multibit icons...  :o(
> >> What should we do?
> >>
> >> Regards,
> >>
> >> Dan Hod
> >> R&D Manager
> >> The PalmMate Team
> >>
> >> Gotta Palm? Gotta visit www.PalmMate.com
> >>
> >>
> >
> >
> >
>
>



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

Date: 8 Nov 1999 21:10:14 -0800
From: "Jun-Kiat Lam" <[EMAIL PROTECTED]>
Subject: Re: multiple resource files in single project

Hi Bill,

The problem with duplicate resources is because of multiple
.rsrc files in your project. The 'uMWC' is a resource in the .rsrc project
that is used by Constructor. The linker will strip any duplicates out when
linking. Unfortunately, there is no way to turn the warning off without
turning warnings off altogether, but you can safely ignore it.

Rgds,
Jun-Kiat Lam
Metrowerks Technical Support

- ----- Original Message -----
From: Bill Berthoud <[EMAIL PROTECTED]>
To: Palm Developers Forum List <[EMAIL PROTECTED]>
Sent: Monday, November 08, 1999 2:34 PM
Subject: multiple resource files in single project


> I have 2 projects which have many common resources, and I have factored
the
> shared ones to a common resource file that is included by both.  Each
> project includes this common.rsrc, and it's own resource file for those
> resources which are not shared.  This works fine, with the exception of a
> linker warning issued: "warning: ignored duplicate resource `mMWC' (16400)
> in common.rsrc".  I created common.rsrc by copying the existing resource
> file and deleting, but I also tried a simple project to create the new
rsrc
> from scratch, and got the same results.  I did uncheck the "Generate app
> resources" checkbox (this was producing 2 other duplicated, a `tver' and
> `tAIN').
>
> This is just a warning, and the resulting application works just fine,
> getting resources from both places, but I'd like to eliminate the warning
if
> possible...
>
> Thanks,
> Bill
>
> Bill Berthoud [EMAIL PROTECTED] 1.603.888.0666 x1080
> Puma Technology www.pumatech.com
>
>



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

Date: 8 Nov 1999 21:13:19 -0800
From: "Eric Cloninger" <[EMAIL PROTECTED]>
Subject: RE: Major CW R6 irritation

For what it's worth, the commercial R6 product provides you with the option
of overriding the file types.

- -E

> -----Original Message-----
> From: Mike Davis [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 08, 1999 8:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Major CW R6 irritation
>
>
>
> You don't have to go edit the registry.  Just open Explorer and select
> View-->Folder Options and set the file associations for whichever
> files you like.
>
> > > I just noticed, after installing CW R6 (Lite, actually), that
> CW has now
> > > associated itself -- without asking! -- with all my C source
> files. That is,
> > > its icon is now next to all my source files and it is the app
> that will open
> > > if I dbl-click on a .c, .h, .cpp, etc. file. This is a major
> irritation for
> > > me when a product does this. For one thing, I use Premia's
> CodeWright as my
> > > general program editor and had it as the default app for all
> source files.
> > > Plus, I also use MS VC++ for Windows-based development. In
> other words, I
> > > did not want CodeWarrior "taking over" my source files in
> this way. And it
> > > is a major pain to change things back. This should be an
> install option!
> > >
> > > For what it's worth, I've also found this same problem with
> many types of
> > > graphic utility programs -- whenever you install them, they
> go and associate
> > > themselves with your .jpg and .gif files, etc.
> > >
> > > Doug Gordon
> > >
> > You can set the association back by editing the registry.  As I am using
> > Window now, I cannot tell you under which key.  But I suspect it is the
> > local machine/software portion.  You should be able to locate
> entry such as
> > "cpp", "c" etc and change the value to the path to the
> application you want
> > to open the file with.
> >
> >
>
>
> --
> -----------------------------------------------------------------
> Discussion Group:        http://www.halcyon.com/ipscone/wwwboard/
>
> Protect your constitutional rights. Your favorite one may be next!
> -----------------------------------------------------------------
>



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

Date: 8 Nov 1999 22:42:14 -0800
From: Philip Ho <[EMAIL PROTECTED]>
Subject: Subroutine with global variable

Dear All,

How can I launch a subroutine using SysAppLaunch has it own global
variable?

I wrote:
In caller:
SysAppLaunch(0, subroutineID, 0, 32768, passString, &resultP);

In callee:
static void AppEventLoop(void)
{
    do
        {
        EvtGetEvent(&event, evtWaitForever);
        if (event.eType==ctlSelectEvent &&
event.data.ctlEnter.controlID==MainReturnButton)
            break;
        if (!SysHandleEvent(&event))
            if (!MenuHandleEvent(0, &event, &error))
                if (!AppHandleEvent(&event))
                    FrmDispatchEvent(&event);
        } while (event.eType != appStopEvent);
}

In this way, I can have caller call callee and back and repeat....
However, when I try to have global variables set up in callee. Fatal
exception occurs. Can I have globals? Thank you very much.

philip





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

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