Re: CW9 on Mac OS X

2003-02-10 Thread Sean Charles

On Sunday, February 9, 2003, at 09:24 PM, Scott Gruby wrote:


Time to start getting prc-tools and associated tools running on my OS X
box and converting my CodeWarrior projects over to makefiles. Command
line tools, to me, are far superior than running Virtual PC.

I've looked at a few sites and haven't found the answer; is it possible
to use gdb to debug with POSE under OS X? I suspect it is, I just
haven't seen the instructions.


Yes, I use GDB with PRCTools on 10.1.4 and it works extremely well. 
Coupled with the legendary EMACS and life just couldn't be easier. Apart 
from winning the lottery.

Sean Charles.

In article <112779@palm-dev-forum>,
 Mark F Rodriguez <[EMAIL PROTECTED]> wrote:


Just received this from MW Ron at Metrowerks, so I guess it's
"official".

Too bad...






--
Scott Gruby
[EMAIL PROTECTED]


--
For information on using the Palm Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Steven Fisher
Sean Charles wrote:

Yes, I use GDB with PRCTools on 10.1.4 and it works extremely well. 
Coupled with the legendary EMACS and life just couldn't be easier. Apart 
from winning the lottery.

I really need something that works cross platform. How are the Windows 
counterparts? Is there any kind of step-by-step process for converting?

I'll miss CodeWarrior. Despite some flaws, it was a pretty good tool. 
But I suppose this gives us incentive to create a better IDE over time. 
It couldn't be done when Metrowerks dropped Pascal due to the state of 
the compilers, but I'm pretty sure Palm will have no such problem. :)


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


COnnecting PalmPilot to a Internet using standard modems used by desktop PCs

2003-02-10 Thread Haresh Gujarathi
Hi,

Is it possible to use the standard 28.8kbsp/56kbps modems (which we usually
use with desktop PCs) with PalmPilot (say m505) and connect to ISP or
dial-in server?

If NO, why?

If yes, how? what cables and accessories I would need?

thx







-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Aaron Ardiri
> > Yes, I use GDB with PRCTools on 10.1.4 and it works extremely well. 
> > Coupled with the legendary EMACS and life just couldn't be easier. 
> > Apart from winning the lottery.
> 
> I really need something that works cross platform. How are the Windows 
> counterparts? Is there any kind of step-by-step process for converting?

yes. prc-tools works pretty much without modification (makefiles etc) on
mac, linux, windows (cygwin). my projects compile both under linux and
cygwin without any problems - you just need to configure your makefiles
correctly :)

> I'll miss CodeWarrior. Despite some flaws, it was a pretty good tool. 
> But I suppose this gives us incentive to create a better IDE over time. 
> It couldn't be done when Metrowerks dropped Pascal due to the state of 
> the compilers, but I'm pretty sure Palm will have no such problem. :)

i dont know why the CWR9 on mac not happening is news to most of you.
i was pretty sure i was told (maybe it was personal email) that CWR9 was
going to be a windows only release (no questions asked).

i personally use both CWR9 and prc-tools, depending on what i need to do
(and, who i do it for). but, overall, i have found prc-tools is more my
type of compiler (100% control over what happens) and, the vision may be
different for others depending on their needs.

if you were keeping up-to-date with CW and the 'extra' stuff (ie: pilrc
plugin), you should have no problem migrating over to prc-tools - i have
had many of my projects compiling under both environments using the same
source code.

---
Aaron Ardiri   [EMAIL PROTECTED]
CEO - CTO  +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Sipix Pocket Printer

2003-02-10 Thread Ai Lee Tang
hi all,

Recently, i bought a Sipix Pocket Printer for palm printing. I noticed that 
different type of palm carry different speed.

Meaning, if i use Symbol SPT1800 to send printing to Sipix pocket printer 
via infrared rate. The speed is very very slow.

if i use IBM workpad to send printing, the speed is faster.

I have no idea why could this happened. Is there any setting i should take 
care for Symbol SPT1800?


Your help is much appreciated.

rgds,
ailee





_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


RE: ZLib gzip files and Winzip desktop

2003-02-10 Thread Maggi Pietro
Danny Wong wrote:
> when I compress a db using zlib I can't seem to
> unzip it on the desktop using winzip.  I can however
> unzip winzip files.
> 
> I noticed the header file in a gzip is different than
> winzip.  Am I missing something here?
> 

ZLib handle the compression for you, but you have to build the ZIP file
structure.
You can find info about this header structure in the pkware site:
http://www.pkware.com/products/enterprise/white_papers/appnote.html

Ciao
Pietro

--
Ing. Pietro F. Maggi
DSM S.p.A.
Via Paganini 34
20052 Monza (MI)
Tel.: 039/382183
Fax: 039/2327759
E-mail: [EMAIL PROTECTED]

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Sean Charles
I have a large number of active projects to start moving over; I think
I'll start with the small ones and see how it goes. I also need to
figure out how to better use Project Builder.


I have used ProjectBuilder for Palm work, but only for a while as I just 
cannot stand the editor! It's very easy to set up projects and targets 
and stuff. The basic operation is: start an 'Empty Project', then add 
all of the source files etc that you want in the project and finally, to 
get it working with your existing makefile (assuming you are not CW, I 
would expect you can export a makefile or convert it) you set up a 
target and say that it is a 'Legacy Makefile'. Once that is done you 
*may* have to tweak a directory path or two depending on your project 
structure, basically tell it where the makefile is! Once that's all done 
you can use Build and Clean with ease.

On MAC I use GDB (m68k-palmos-gdb) and while a little slow at times, it 
does the job. If anything it teaches you not to have to use the 
debugger. I also heartily recommend the MAC version of Cocoa Palm 
Reporter v1.0.1 thanks to Florent Pillet. Can't remember the URL offhand 
but Google knows!

I've said it before and I'll say it again, I think that the open source 
tools are far better once you get into them, and the support is 
ultimately more useful in the sense that, if you can do it, you can 
always get the source code and fix it yourself instead of waiting for 
another release.

Sean


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: CW9 on Mac OS X

2003-02-10 Thread Sean Charles

On Monday, February 10, 2003, at 08:15 AM, Steven Fisher wrote:


Sean Charles wrote:

Yes, I use GDB with PRCTools on 10.1.4 and it works extremely well. 
Coupled with the legendary EMACS and life just couldn't be easier. 
Apart from winning the lottery.

I really need something that works cross platform. How are the Windows 
counterparts? Is there any kind of step-by-step process for converting?

Well, on MAC, Windows ans Linux I use PRC-TOOLS with EMACS/XEmacs and 
sometimes I copy from MAC to Windows to Linux and back again a few times 
a week and I have to procisely ZERO changes to ANYTHING. It's great. I'd 
recommend it for the same reasons I hate people getting 'tied' into the 
Micro$oft route. If you want to mail me off-list to talk about cross 
platform portability then I'm your man.

For converting from CW to a standard makefile, I'm sure there are 
tools / advice for the asking, I don't use CW so I couldn't say.

I'll miss CodeWarrior. Despite some flaws, it was a pretty good tool. 
But I suppose this gives us incentive to create a better IDE over time. 
It couldn't be done when Metrowerks dropped Pascal due to the state of 
the compilers, but I'm pretty sure Palm will have no such problem. :)


Ben Combee may not remember my name but many years ago I bought CW for 
Java 6.0 for a BIIG project and when we were in there, relying 
on it daily, one day with no warning it screwed us big time, and the 
registry and all the project settings just went AWOL. I was not happy 
with the support. Why should I download megabytes of patches and fixes 
for something that, IMO, just wasn't ready for commercial use? In 
honesty, we had some problemes with VCafe as well, it purported to be 
able to migrate to any new JDK but it was a massive PITA with 
downloading this and that and a kitchen sink.

The truth was, it (VCAFE) just didn't do what it said on the box, out of 
the box. I've developed software for nearly twenty years and used lots 
of things to get the job done...I no longer believe things printed on 
boxes or in magazine reviews!

IMHO I have always thought that CW is like a duck, all calm control and 
serenity on the surface but paddling like buggery underneath. We ditched 
CW and went with Forte for Java, a magnificent FREE tool that never ever 
went wrong. I used the Windows version which, not having seen a MAC at 
that time, I can realise why it's so hard to get used to because of the 
non-standard windows model i.e. it don't look like Windoze and it don't 
play like Windoze. I can't remember how many times I had to keep 
resetting the settings and this and that. Not a time I care to remember 
at all.


Anyway, I don't intend to start a flame ware about anything, that's just 
what happened to me but I read a lot of mails on this forum about people 
having trouble with the tools, both CW and PRC, instead of the job in 
hand. You live you learn. Hopefully. On both counts!

Sean.


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: funcA has Illegal single segment 32-bit reference to funcB

2003-02-10 Thread Martyn Honeyford
Ben Combee wrote:

If you can't arrange the order of functions in your library to make it 
link with small, then switching to large or smart is appropriate, but 
otherwise, small is preferred due to the smaller code size.

Ben, I didn't realise that it is possible to use large or smart with 
shared libraries.

Whenever I try, I get loads of link errors because the entries in the 
dispatch table are only 16 bit.

From this I take it that it is only possible to have any "exported" 
functions in the first segment with internal functions in the other segment?

Martyn.


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: COnnecting PalmPilot to a Internet using standard modems used by desktop PCs

2003-02-10 Thread Chris Tutty
From: "Haresh Gujarathi" <[EMAIL PROTECTED]>
> Is it possible to use the standard 28.8kbsp/56kbps modems (which we
usually
> use with desktop PCs) with PalmPilot (say m505) and connect to ISP or
> dial-in server?
>
I've used desktop modems when testing serial connections
and, while I've never made a dial-up internet connection,
in theory any serial AT-compatible device is the same as
any other.

You'll need a data cable to connect the serial port to the
modem - a number of these are available from various cable
manufacturers.  You can also sometimes use a hotsync cable
with a null modem but that depends on the Palm device, there
seem to be some strange variations to the serial hardware in
different devices.

For testing you might want to download one of the PalmOS
terminal emulators from PalmGear.  It can help when trouble-
-shooting to identify whether the problem is between the
Palm and the modem or at a higher level.

Chris Tutty


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Gavin Maxwell
Aaron Ardiri <[EMAIL PROTECTED]> wrote in message
news:112823@palm-dev-forum...
> i dont know why the CWR9 on mac not happening is news to most of you.
> i was pretty sure i was told (maybe it was personal email) that CWR9 was
> going to be a windows only release (no questions asked).

It's "news" simply because Metrowerks told us that nothing was set in
concrete when V9 was released for Windows only (though we all had a feeling
in our guts right?) and that we should write to them and state our case very
nicely. They gave us some hope that we could change things...

These comments came from MW Ron shortly after CW9 was announced, outlining
the notion that there was always a chance.

"There are several factors that have to be considered if or when we phase
out the Macintosh tools and Metrowerks does want to do what is the best for
the totality of our Palm developers."

and

"Metrowerks will develop a policy statement that clarifies what our position
will be regarding deployment on the Mac OS X platform until then there is no
absolute."



Gavin.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



resize key queue

2003-02-10 Thread Einar Örn
I need to resize the key queue, because I have to post a few hudred
events

EvtSetPenQueuePtr seems to be the fuction, but it's not very well
documented. Do I have to restore the queue pointer afterwards, free memory?
What is this function really doing? Can anyone give me an example?

thanks in advance.
E.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Handspring says "delete third-party applications"

2003-02-10 Thread Joe Malone
In its never-ending quest to support the Palm Economy, Handspring
issued this advice today (see Handspring e-newsletter):

"The worst offenders in the battle against battery drain are
third-party software applications. Not only do they use more energy
than the built-in apps when the device is running, they can even suck
power while the device is off. To maximize your power potential, delete
any third-party software applications..."



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Handspring says "delete third-party applications"

2003-02-10 Thread Aaron Ardiri
> "The worst offenders in the battle against battery drain are
> third-party software applications. Not only do they use more energy
> than the built-in apps when the device is running, they can even suck
> power while the device is off. To maximize your power potential, delete
> any third-party software applications..."

i guess thats true when the 3rd party applications actually are more
useful than the built in ones - of course you'll use more battery! are
you sure it was a real handspring letter - the use of 'suck power' seems
very .. um.. childish from a newsletter point of view.

the statement is a bunch of bullocks anyhow - hacks can drain power,
but, only if they are intercepting API's like EvtGetEvent() - drivers
that use the serial port can also drain battery, but, these are normally
for 3rd party 'add-on' hardware, not software :)

---
Aaron Ardiri   [EMAIL PROTECTED]
CEO - CTO  +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Handspring says "delete third-party applications"

2003-02-10 Thread Brian Smith
On Mon, 10 Feb 2003, Joe Malone wrote:

> "The worst offenders in the battle against battery drain are third-party
> software applications. Not only do they use more energy than the
> built-in apps when the device is running, they can even suck power while
> the device is off. To maximize your power potential, delete any
> third-party software applications..."

"They'll even fry your microwave, harrass your pets, and erase every
floppy disk within a 10 mile radius..."

(sorry, had to)

-- 
---
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
"I have opinions of my own, strong opinions, but I don't always agree
 with them." -- George H. W. Bush

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Handspring says "delete third-party applications"

2003-02-10 Thread Henry Young
I wish they will not suck our brain out after they have done to the power
energy.

"Joe Malone" <[EMAIL PROTECTED]> ??:[EMAIL PROTECTED]
>
> In its never-ending quest to support the Palm Economy, Handspring
> issued this advice today (see Handspring e-newsletter):
>
> "The worst offenders in the battle against battery drain are
> third-party software applications. Not only do they use more energy
> than the built-in apps when the device is running, they can even suck
> power while the device is off. To maximize your power potential, delete
> any third-party software applications..."
>
>
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Handspring says "delete third-party applications"

2003-02-10 Thread Markus Dresch
i've seen a documentation about connecting electronic chips to human nerves.
the first thing i'll ask a cyborg will be: "what does a hard reset feel
like?"

markus dresch (www.palmside.com)

> I wish they will not suck our brain out after they have done to the power
> energy.
>
> "Joe Malone" <[EMAIL PROTECTED]>
??:[EMAIL PROTECTED]



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Handspring says "delete third-party applications"

2003-02-10 Thread Jeff Wheeler
FWIW, the complete sentence that ends the paragraph is: "To maximize your
power potential, delete any third-party software applications you don't
need."  

The complete section in the e-mail is:



Handheld Lessons: Extend Your (Battery) Life 

Want to make the most of your Handspring organizer's battery life? Here are
a few easy tips to help you stretch your power. 

The worst offenders in the battle against battery drain are third-party
software applications. Not only do they use more energy than the built-in
apps when the device is running, they can even suck power while the device
is off. To maximize your power potential, delete any third-party software
applications you don't need. 

Another way to help conserve battery power is not to store Springboard
modules or expansion cards in your device. As with third-party software
applications, they do drain small amounts of power even when not in use. 

Beyond that, using the backlight at its brightest setting, continuous use of
the keyboard backlight or ignoring repeating Date Book Plus alarms can also
add undue drain on your battery. Even unexpected things-like a case that
fits too tight, or too many high-powered software applications can shorten
your battery's anticipated power output.



Jeff



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Joe Malone
Sent: Monday, February 10, 2003 7:56 AM
To: Palm Developer Forum
Subject: Handspring says "delete third-party applications"

In its never-ending quest to support the Palm Economy, Handspring
issued this advice today (see Handspring e-newsletter):

"The worst offenders in the battle against battery drain are
third-party software applications. Not only do they use more energy
than the built-in apps when the device is running, they can even suck
power while the device is off. To maximize your power potential, delete
any third-party software applications..."



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/




--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: COnnecting PalmPilot to a Internet using standard modems used by desktop PCs

2003-02-10 Thread Dave Lippincott
The manual that came with my Palm hand held has an entire section on
connecting to an ISP using a modem.  I'm sure the manual that came with your
does too.  Purchase a serial modem cable and you will be good to go.  (try
either palm.com  or markspace.com)

- Original Message -
From: "Haresh Gujarathi" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 3:32 AM
Subject: COnnecting PalmPilot to a Internet using standard modems used by
desktop PCs


> Hi,
>
> Is it possible to use the standard 28.8kbsp/56kbps modems (which we
usually
> use with desktop PCs) with PalmPilot (say m505) and connect to ISP or
> dial-in server?
>
> If NO, why?
>
> If yes, how? what cables and accessories I would need?
>
> thx
>
>
>
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: resize key queue

2003-02-10 Thread Dave Lippincott
>  have to post a few hudred events
Not on my Palm!  Last thing I want is an application chewing up all the CPU
cycles just processing your queue.  I'd rethink the need to post so many
events.  I'm sure another method would work without all the over-head.


- Original Message -
From: "Einar Örn" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 5:27 AM
Subject: resize key queue


> I need to resize the key queue, because I have to post a few hudred
> events
>
> EvtSetPenQueuePtr seems to be the fuction, but it's not very well
> documented. Do I have to restore the queue pointer afterwards, free
memory?
> What is this function really doing? Can anyone give me an example?
>
> thanks in advance.
> E.
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Socket send on palm device

2003-02-10 Thread venkatesh moh
Hi All,

Would anyone know if there is any difference between
the socket call "NetLibSend(send in unix terminology)"
between the POSE and device. I am having a problem
where my application running on the POSE is able to
talk to a server whereas the same application on the
Tungsten device is unable to talk to the server since
the call to NetLibSend(send) times out. The error
returned is "netErrTimeout" and I am unable to figure
out why. Please any suggestions ?

Thanks,
Venki.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



SysReset before MemHandleUnlock

2003-02-10 Thread Eric Potter
If a program has called MemHandleLock and the device gets soft reset,
does the record ever get unlocked? If so, where does this happen?

thanks for your insights

Eric Potter

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Handspring says "delete third-party applications"

2003-02-10 Thread Joe Malone
--- Jeff Wheeler <[EMAIL PROTECTED]> wrote:
>
> FWIW, the complete sentence that ends the paragraph is: 
> ...

That's not relevant.  The main problem with the entire section is the
attitude towards third-party software.  ("The worst offenders... are
third-party... applications", "they use more energy...", "suck power") 
Handspring does not say "SOME third-party software" drains excessive
power.  They categorically state that third-party software uses more
energy than built-in software and tell you to delete it.  This is not
the type of message that assists developers in marketing and selling
software.  These statements tend to make people afraid of third-party
apps.


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: SysReset before MemHandleUnlock

2003-02-10 Thread Aaron Ardiri
> If a program has called MemHandleLock and the device gets soft reset,
> does the record ever get unlocked? If so, where does this happen?

lock counts are reset on a reset :)

---
Aaron Ardiri   [EMAIL PROTECTED]
CEO - CTO  +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Handspring says "delete third-party applications"

2003-02-10 Thread Mark Wilden
From: "Joe Malone" <[EMAIL PROTECTED]>

> "The worst offenders in the battle against battery drain are
> third-party software applications.

Those damn Greens...

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Handspring says "delete third-party applications"

2003-02-10 Thread js3guj
Jeff Wheeler [mailto:[EMAIL PROTECTED]] wrote:
| 
| FWIW, the complete sentence that ends the paragraph is: "To 
| maximize your
| power potential, delete any third-party software applications 
| you don't
| need."  
| 
| The complete section in the e-mail is:
[...]

Sigh.  Troll from Joe Programmer <[EMAIL PROTECTED]> again.

js3guj


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: COnnecting PalmPilot to a Internet using standard modems used by desktop PCs

2003-02-10 Thread Haresh Gujarathi
Okie...

the thing sare getting clearer... I suppose I have to use a null modem
adapter...

Now I have another problem...

My cradle connects to USB instead of serial port...

So what do I do?



"Haresh Gujarathi" <[EMAIL PROTECTED]> wrote in message
news:112821@palm-dev-forum...
>
> Hi,
>
> Is it possible to use the standard 28.8kbsp/56kbps modems (which we
usually
> use with desktop PCs) with PalmPilot (say m505) and connect to ISP or
> dial-in server?
>
> If NO, why?
>
> If yes, how? what cables and accessories I would need?
>
> thx
>
>
>
>
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: COnnecting PalmPilot to a Internet using standard modems used by desktop PCs

2003-02-10 Thread Dave Lippincott
irrelevant as you need a null modem cable mentioned

- Original Message -
From: "Haresh Gujarathi" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 10:27 AM
Subject: Re: COnnecting PalmPilot to a Internet using standard modems used
by desktop PCs


> Okie...
>
> the thing sare getting clearer... I suppose I have to use a null modem
> adapter...
>
> Now I have another problem...
>
> My cradle connects to USB instead of serial port...
>
> So what do I do?
>
>
>
> "Haresh Gujarathi" <[EMAIL PROTECTED]> wrote in message
> news:112821@palm-dev-forum...
> >
> > Hi,
> >
> > Is it possible to use the standard 28.8kbsp/56kbps modems (which we
> usually
> > use with desktop PCs) with PalmPilot (say m505) and connect to ISP or
> > dial-in server?
> >
> > If NO, why?
> >
> > If yes, how? what cables and accessories I would need?
> >
> > thx
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Handspring says "delete third-party applications"

2003-02-10 Thread js3guj
Joe Malone [mailto:[EMAIL PROTECTED]] wrote:
|
| --- Jeff Wheeler <[EMAIL PROTECTED]> wrote:
| >
| > FWIW, the complete sentence that ends the paragraph is: 
| > ...
| 
| That's not relevant.  
[snip]

Then, why did you omit the last part of the sentence (deliberately?)?

js3guj


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Bernie Estavillo
On Sunday, February 9, 2003, at 03:18 PM, Mark F Rodriguez wrote:


Just received this from MW Ron at Metrowerks, so I guess it's 
"official".

Too bad...

I wanted to let you know that a decision was made last week that we 
will not
release a new version of CodeWarrior for the Palm OS platform being 
hosted
on the Macintosh operating systems [...]

Positive news probably would have been delivered much sooner...

I stopped using codewarrior a few months ago, and there was very little 
problem with switching to prc-tools and Project Builder. An excellent 
prc-tools installer can be found at 
http://sidewww.epfl.ch/~crivelli/prctools-osx/. The only thing that 
required some effort was converting my resource files to .rcp files. 
For that, I used a nice little perl script called rsrc2rcp, available 
from http://rsrc2rcp.sourceforge.net/ .

While fixing up my .rcp files, I wrote plugins for BBEdit and Project 
Builder to handle syntax coloring of .rcp files. They are available 
from http://homepage.mac.com/estavillo/

--bernie


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: CW9 on Mac OS X

2003-02-10 Thread C. B. Schofield
On 2/10/03 9:16 AM, "Bernie Estavillo" wrote:

> While fixing up my .rcp files, I wrote plugins for BBEdit and Project
> Builder to handle syntax coloring of .rcp files.

Useful... thanks Bernie!

Craig


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Handspring says "delete third-party applications"

2003-02-10 Thread Joe Malone
> Joe Malone [mailto:[EMAIL PROTECTED]] wrote:
>
> | That's not relevant.  
> 

--- [EMAIL PROTECTED] wrote:
> Then, why did you omit the last part of the sentence (deliberately?)?

Did you read what I said?  (No, or you wouldn't have to ask.)

The point of my message was that Handspring has issued a dire warning
in their e-newletter which was either very poorly written, or was
intended to scare people away from third party software.  Since most of
the people on palm-dev-forum are creators of third-party software, I
thought it would be of interest to point this out.  If it is not of
interest to you, then you may ignore it, but you really don't need to
call me a "troll".

Whether or not one reads the final part of the sentence ("...you don't
need."), the over-all message from "Handheld Lessons: Extend Your
(Battery) Life" is that third-party software is dangerous, risky,
battery-sucking drivel that should be deleted.  To me, that does not
seem to be a message that is good for the Palm Economy, and I was quite
surprised that Handspring sent it.

On a technical note, I find it hard to believe that deleting
third-party software that I am not using (that's the only sw that I
"don't need") is going to save battery life.  It hardly matters what
combination of bits is sitting there!

I have nothing more to say on this topic.


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: NR70 and baud rates

2003-02-10 Thread Rob Larson
What I've currently got working is code that runs the Tungsten IR port at
about 40,000 baud.  The IR port is just another serial port, so the issues
of setting the baud rate are exactly the same.  I've also got some test code
that overrides the SrmOpen baud rate on a 68k to a separately calculated
baud rate.  This is all developmental code, but it sounds like someone else
besides me might be interested in something like a utility library.  The
hardware is certainly capable of non-standard baud rates on both the serial
connector and the IR port.

Mike - from what you have said about your 10,400 baud data connection, I'm
wondering if you really want 8 bit characters (plus a start and a stop bit)
from the serial connection.  It sounds like you are trying to sample a pulse
stream, and are just using the 8 bit setup because it is what's available.
Tell me more about the characteristics of the data stream - there is more
that can be done than simply setting the baud rate.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Handspring says "delete third-party applications"

2003-02-10 Thread js3guj
Joe Malone [mailto:[EMAIL PROTECTED]] wrote:
| 
| That's not relevant.  The main problem with the entire section is the
| attitude towards third-party software.  ("The worst offenders... are
| third-party... applications", "they use more energy...", 
| "suck power") 

Third party software have generally more functions (so dynamic steps)
than built-in apps,
so in general, is it legitimate to state they consume more energy than built-in apps?

| Handspring does not say "SOME third-party software" drains excessive
| power.  They categorically state that third-party software uses more
| energy than built-in software and tell you to delete it.  This is not
| the type of message that assists developers in marketing and selling
| software.  These statements tend to make people afraid of third-party
| apps.

>From the user's point of view, deleting heavy, complex 3rd party apps is one 
>effective thing
to extend battery life of their device?

What we developers must give attention to is to make our apps light weight,
fast and less battery consuming, I think.

js3guj


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: funcA has Illegal single segment 32-bit reference to funcB

2003-02-10 Thread Ben Combee
At 10:00 2003-2-10 +, you wrote:

Ben Combee wrote:

If you can't arrange the order of functions in your library to make it 
link with small, then switching to large or smart is appropriate, but 
otherwise, small is preferred due to the smaller code size.

Ben, I didn't realise that it is possible to use large or smart with 
shared libraries.

Whenever I try, I get loads of link errors because the entries in the 
dispatch table are only 16 bit.

You can rearrange the file order in your shared library to move the 
dispatch table to a more centered location.  If its in the middle of your 
library, you should have the full 64K range available for the table.

From this I take it that it is only possible to have any "exported" 
functions in the first segment with internal functions in the other segment?

You still can't do multisegment libraries easily.  There is no jump table 
generated for a shared library, so code in other segments can only be 
reached by manually locking those segments in memory and jumping into them, 
taking care to order those segments right and being sure to jump over the 
12-byte segment leader.  It is not for the faint of heart.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: CW9 on Mac OS X

2003-02-10 Thread Ben Combee


It's "news" simply because Metrowerks told us that nothing was set in
concrete when V9 was released for Windows only (though we all had a feeling
in our guts right?) and that we should write to them and state our case very
nicely. They gave us some hope that we could change things...

These comments came from MW Ron shortly after CW9 was announced, outlining
the notion that there was always a chance.


I am not commenting much on this issue.  I've already spent a lot of effort 
internally on this, and there's nothing that I can do to change this now.

However, I will say that we were still strongly considering doing a Mac OS 
version through mid-January and we looked at several different scenarios 
for doing support.  I spent time looking at all the components in V9, 
checking to see if they could be rebuilt on OS X easily or if not, how much 
effort it would be to port it over.  I went to our management with these 
estimates, and we looked at the effort required versus our sales trends, 
marketing data, and engineering costs.  We looked at other ideas, like 
reducing features or bundling the Palm OS tools with other products, but in 
the end, it just wasn't possible to make a case for continuing the Mac 
OS-hosted tools for Palm OS that made any business sense.

We did not lie when we said it was a possibility.  This decision wasn't 
made until the middle of January, and until then, I thought that it could 
happen.  We did the analysis, tested that hypothesis, and it took until now 
for the company to work through out system to get a statement sent out to 
people who had asked about support.


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


RE: Handspring says "delete third-party applications"

2003-02-10 Thread js3guj
Joe Malone [mailto:[EMAIL PROTECTED]] wrote:
| 
| Did you read what I said?  (No, or you wouldn't have to ask.)
Yes.

| The point of my message was that Handspring has issued a dire warning
| in their e-newletter which was either very poorly written, or was
| intended to scare people away from third party software.  
| Since most of
| the people on palm-dev-forum are creators of third-party software, I
| thought it would be of interest to point this out.  If it is not of
| interest to you, then you may ignore it, but you really don't need to
| call me a "troll".
Then, why did you omit the last part of the sentence, maybe deliberately?

| On a technical note, I find it hard to believe that deleting
| third-party software that I am not using (that's the only sw that I
| "don't need") is going to save battery life.  It hardly matters what
| combination of bits is sitting there!
This is not correct.  It said "you don't need", not "you are not using".

As I said in the other message, I think deleting *3rd party apps which you rarely use"
is one of the effective way (*from the user's point of view*) to extend battery life.
 (And their e-newsletter intend to be read by the *user*, I think.) 

Technically, lots of apps installed is a burden for application launchers.

| I have nothing more to say on this topic.
Thank you for shutting up.

js3guj


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Illegal precompiled header version

2003-02-10 Thread Ben Combee
At 16:43 2003-2-9 -0800, you wrote:

I rebuilt the Build All.mcp and that went just fine.  I retried compiling 
my targets but I am getting the same result.  I went into the target that 
is working fine and matched it up to the settings to the targets that are 
not working and I can't seem to find anything that is different.  Any 
other ideas?

So, you're saying that the C/C++ language prefix setting is the same for 
both targets, but only one gets the illegal precompiled header error?  If 
so, check to see if the access paths are the same for both targets.  It may 
be possible that one target is getting a precompiled header from another CW 
installation.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: How to define a font family with pilrc?

2003-02-10 Thread Ben Combee


On the net I only found ways to do this with CodeWarrior.
But how st this possible using only pilrc? I am currently
using pilrc 2.9p9.


Not yet.  I hope someone is working on an extension to PilRC to support 
font families, but I've not seen any code for it.  With the 5.0 SDK 
documentation, we have official layouts for fonts, so it shouldn't be too 
hard for someone to write.  I'd look at it, but I've got bigger fish to fry 
right now.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


RE: Handspring says "delete third-party applications"

2003-02-10 Thread Steve Mann
This is not
the type of message that assists developers in marketing and selling
software.  These statements tend to make people afraid of third-party
apps.


Odd isn't it, considering how great HandSpring has been about 
providing timely developer support, SDKs for new devices, lots of 
great, working sample code and thorough, well-written documentation.

Regards,
Steve Mann

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


RE: CW9 on Mac OS X

2003-02-10 Thread Fergal Moran
> From: Ben Combee [mailto:[EMAIL PROTECTED]] 
> effort it would be to port it over.  I went to our management 
> with these 
> estimates, and we looked at the effort required versus our 
> sales trends, 
> marketing data, and engineering costs.  We looked at other 
> ideas, like 
> reducing features or bundling the Palm OS tools with other 
> products, but in 
> the end, it just wasn't possible to make a case for 
> continuing the Mac 
> OS-hosted tools for Palm OS that made any business sense.
> 
I'm not a mac user so this argument does not really interest me.
However, I am a linux user and have had a couple of stabs at getting CW
working under wine.  Any chance Metrowerks would have a word with
codeweavers and see if you can get wine support for CW.  This would
appease both the Max OS X users and linux users - just a thought!

Fergal.

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread C. B. Schofield
On 2/10/03 10:24 AM, "Fergal Moran" wrote:

> This would appease both the Max OS X users and linux users -
> just a thought!

Not a bad idea, with theoretically less work on MW's part.  Of course, it
wouldn't benefit Mac OS X users in the near term, since (AFAIK) the porting
of WINE to X is in very early stages.

Craig


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Handspring says "delete third-party applications"

2003-02-10 Thread Sean Charles
Dear js3gu,

On Monday, February 10, 2003, at 04:53 PM, <[EMAIL PROTECTED]> wrote:


| On a technical note, I find it hard to believe that deleting
| third-party software that I am not using (that's the only sw that I
| "don't need") is going to save battery life.  It hardly matters what
| combination of bits is sitting there!
This is not correct.  It said "yo


What does it matter if you don't use it or don't need it??? I am puzzled 
greatly how this affects the battery life. Perhaps with less apps. 
installed, the refresh bicycles don't wear their tyres out and therefore 
last longer as they don't have so far to go?

u don't need", not "you are not using".

As I said in the other message, I think deleting *3rd party apps which 
you rarely use"
is one of the effective way (*from the user's point of view*) to extend 
battery life.
 (And their e-newsletter intend to be read by the *user*, I think.)

Technically, lots of apps installed is a burden for application 
launchers.

This is possibly a valid point...but isn't that what they are 
for...what's the point of having an app. launcher if you only have one 
program on your device for example. It's more of a burden for users, 
whic is why a *good* lanucher is even more useful. Serves users for 
littering their devices!

| I have nothing more to say on this topic.
Thank you for shutting up.



Can you please explain to me, in words (endian-ness of your choice) of 
one syllable because I am 2sTooPID to understand how deleting programs 
from a device is going to extend the battery life. My battery tends to 
wear out when I turn it on and use *any* program, 3rd party or not. Does 
your PC slow down when you fit another hard drive? Will my waistline 
reduce if I throw out my old pairs of trousers and pants?

Handspring Users: For max. battery life, delete everything, jump up and 
down on it until the battery drops out, then
 place it in a cool dark place (inside your heads?) and I guarantee that 
your battery charge will last a very long time.

Sean.

Of course, I *am* joking...


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: Handspring says "delete third-party applications"

2003-02-10 Thread Sean Charles

On Monday, February 10, 2003, at 01:55 PM, Joe Malone wrote:


In its never-ending quest to support the Palm Economy, Handspring
issued this advice today (see Handspring e-newsletter):

"The worst offenders in the battle against battery drain are
third-party software applications. Not only do they use more energy
than the built-in apps when the device is running, they can even suck
power while the device is off. To maximize your power potential, delete
any third-party software applications..."


*HOW* does the *CPU* *KNOW* what it's running then eh? Now that is 
scary...




__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
For information on using the Palm Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Steve Mann
While fixing up my .rcp files, I wrote plugins for BBEdit and 
Project Builder to handle syntax coloring of .rcp files. They are 
available from http://homepage.mac.com/estavillo/

Bernie:

Thanks for the pointer. Seems we Mac/Palm developers are doing to 
have to start taking care of ourselves more. Every little 
resource/tool helps.

Does anyone besides myself think it would be useful to have a 
Mac-only Palm dev list or perhaps some dedicated web site devoted to 
the topic?

Regards,
Steve Mann

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: CW9 on Mac OS X

2003-02-10 Thread C. B. Schofield
On 2/10/03 10:24 AM, "Steve Mann" wrote:

> Does anyone besides myself think it would be useful to have a
> Mac-only Palm dev list or perhaps some dedicated web site devoted to
> the topic?

Sure, that would be very helpful.

Craig


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Handspring says "delete third-party applications"

2003-02-10 Thread Oliver
>From :
> Third party software have generally more functions 
> (so dynamic steps) than built-in apps, so in 
> general, is it legitimate to state they consume 
> more energy than built-in apps?

Gee, I wish Handspring hadn't bundled Datebook+
and Citytime with my Treo.  No wonder the battery
life sucks.  

I actually found a much better solution to its 
battery problem the other day, though.  I dropped
the Treo and now the digitizer doesn't work anymore,
so I can't launch any application from their launcher.
That's going to save me a lot in battery life!  If
you like this trick, I'd be happy to perform the
same "upgrade" on your device.

Oliver



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



.r/.rsrc to .rcp AND .mcp to Makefile

2003-02-10 Thread Scott Gruby
As many of us Mac people are going to be converting to prc-tools, is 
there an easy way to convert .r or .rsrc files into .rcp files? I 
realize that some tags might be lost and that my #defines might not be 
quite right, but I have a lot of .r and .rsrc files that I'll need to 
make into the .rcp files. (I know I'll have to extract all the icons and 
bitmaps

Also, for my more complicated projects that have a certain link order 
and certain segment order, is there an easy way to generate makefiles 
from .mcp files?

I suspect that there is no easy way to do either of these things.

-- 
Scott Gruby
[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: .r/.rsrc to .rcp AND .mcp to Makefile

2003-02-10 Thread Steve Mann
As many of us Mac people are going to be converting to prc-tools, is
there an easy way to convert .r or .rsrc files into .rcp files? I


From an earlier post today:




The only thing that required some effort was converting my resource 
files to .rcp files. For that, I used a nice little perl script 
called rsrc2rcp, available from http://rsrc2rcp.sourceforge.net/ .



Regards,
Steve Mann

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Philippe Garnier
> Does anyone besides myself think it would be useful to have a 
> Mac-only Palm dev list or perhaps some dedicated web site devoted to 
> the topic?

Yes.

Philippe.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Scott Gruby
In article <112906@palm-dev-forum>, Steve Mann <[EMAIL PROTECTED]> 
wrote:

> >While fixing up my .rcp files, I wrote plugins for BBEdit and 
> >Project Builder to handle syntax coloring of .rcp files. They are 
> >available from http://homepage.mac.com/estavillo/
> 
> Bernie:
> 
> Thanks for the pointer. Seems we Mac/Palm developers are doing to 
> have to start taking care of ourselves more. Every little 
> resource/tool helps.
> 
> Does anyone besides myself think it would be useful to have a 
> Mac-only Palm dev list or perhaps some dedicated web site devoted to 
> the topic?


If Palm doesn't step up to the plate, I've just setup a list...feel free 
to join.




-- 
Scott Gruby
[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



TimGetTicks() safe from Wakeup Handler?

2003-02-10 Thread Bill Heidler
I would like to record timestamps of received serial data, for the purpose
of
measuring as accurately as possible the interval between the receptions.

If I wait to get the timestamp (by calling TimGetTicks() ) when I handle the
keyDownEvent generated from the wakeup handler, I am subject to any
overhead involved in processing prior events.

I've read that the only safe (permitting re-entrancy) API calls from a
wakeup
handler are EvtEnqueueKey() and EvtWakeup() .  What about TimGetTicks()?

Thank you,
Bill Heidler
< [EMAIL PROTECTED] >




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Exchange Library project settings confusion

2003-02-10 Thread Jason Freund

> > Jason:
> > So I guess there's no way to have it automatically install
> > when you drop the prc on the emulator or beam it to another user?  My
ExgLib
> > "application" will not have a GUI or app icon that can be launched, and
I
> > don't think you get a syncNotify in those cases.
>
> Ben Combee:
> Sure you can... make it a hidden application by setting the "hide" flag in
> your PRC header.  It won't show up in the launcher, but should still get
> reset and install notifications.

I didn't see any app install appLaunchCmd -- that would've been nice to have
here.  I guess I will have to set the reset bit in order to get the reset
launch command.

Jason


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: .r/.rsrc to .rcp AND .mcp to Makefile

2003-02-10 Thread Scott Gruby
In article <112912@palm-dev-forum>, Steve Mann <[EMAIL PROTECTED]> 
wrote:

> >As many of us Mac people are going to be converting to prc-tools, is
> >there an easy way to convert .r or .rsrc files into .rcp files? I
> 
>  From an earlier post today:
> 
> >>
> The only thing that required some effort was converting my resource 
> files to .rcp files. For that, I used a nice little perl script 
> called rsrc2rcp, available from http://rsrc2rcp.sourceforge.net/ .
> >>
> 
> Regards,
> Steve Mann
> 
> 


Thanks; I had composed my message before I saw that!

-- 
Scott Gruby
[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Florent Pillet
I've added Bernie's language modules to osx-palm-tools. Now if someone 
could craft a package with PackageMaker to install them automatically 
into Project Builder, that would be nice.

Also, the forums on the osx-palm-tools project page would be a good 
place to discuss Mac OS tools. With the demise of CW for OS X, much has 
to be done. I'm going to release my USB Bridge (which allows you to use 
gdb over USB on Tungsten and other USB devices on OS X) soon. Other 
things may/will follow.

Florent.

On lundi, fév 10, 2003, at 18:24 Europe/Paris, Steve Mann wrote:

Thanks for the pointer. Seems we Mac/Palm developers are doing to have 
to start taking care of ourselves more. Every little resource/tool 
helps.

Does anyone besides myself think it would be useful to have a Mac-only 
Palm dev list or perhaps some dedicated web site devoted to the topic?

--
Florent Pillet, Code Segment   [EMAIL PROTECTED]
Developer tools and end-user products ICQ: 117292463
Palm, Mac, Unix, Windows http://perso.wanadoo.fr/fpillet


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Aaron Ardiri
> > Does anyone besides myself think it would be useful to have 
> > a Mac-only Palm dev list or perhaps some dedicated web site 
> > devoted to the topic?
> 
> If Palm doesn't step up to the plate, I've just setup a list...
> feel free to join.

um.. is there really a need for something like this? some of us have
been using prc-tools since day one - so, none of this is exactly news
to the most of us. 

why not just subscribe to the prc-tools mailing list? there has been
a bit of macos x discussion there lately *specific* to prc-tools.
i am sure John and the others on that list will mind if there are
discussions about converting from codewarrior -> prc-tools on that
list. some of that info can be worth while.

http://prc-tools.sourceforge.net/

---
Aaron Ardiri   [EMAIL PROTECTED]
CEO - CTO  +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



NetLib & sluggish keyboard response

2003-02-10 Thread Brian Smith
A few people using upIRC have been reporting sluggish keyboard response
while it's connected to a server.  The latest reports the same behavior
with some networked apps (like terminal emulation) have the same problem,
but not others (like ICQ).

My only theory is that the keyboard driver is latching into EvtGetEvent
(and somehow doing the equivalent on OS 5, in the last case) and supplying
the key events that way.  In my case, though, I'm using NetLibSelect to
see if events are in the queue while I'm connected, and the keyboard
driver may not be handling that correctly.  That's the only thing I can
think of, since my Wireless Link keyboard doesn't give me the same
problems... it works fine.

Does that sound like a logic conclusion?  If so, is there any way to get
around it, short of going back to EvtGetEvent as the core of the event
loop?  I could shorten the timeout on NetLibSelect to make it a little
better, but that would also drain the battery faster.  Going back to the
old event loop would have the same effect, since I'd have to do polling of
the network connection.

-- 
---
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
"I have opinions of my own, strong opinions, but I don't always agree
 with them." -- George H. W. Bush

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Steve Mann
i am sure John and the others on that list will mind if there are


^^^

discussions about converting from codewarrior -> prc-tools on that
list.


Surely you meant will _not_ mind, didn't you? :-)

Regards,
Steve Mann

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/



Re: Exchange Library project settings confusion

2003-02-10 Thread Ben Combee
At 10:18 2003-2-10 -0800, you wrote:


> > Jason:
> > So I guess there's no way to have it automatically install
> > when you drop the prc on the emulator or beam it to another user?  My
ExgLib
> > "application" will not have a GUI or app icon that can be launched, and
I
> > don't think you get a syncNotify in those cases.
>
> Ben Combee:
> Sure you can... make it a hidden application by setting the "hide" flag in
> your PRC header.  It won't show up in the launcher, but should still get
> reset and install notifications.

I didn't see any app install appLaunchCmd -- that would've been nice to have
here.  I guess I will have to set the reset bit in order to get the reset
launch command.


There is one -- as shown in the sample source, the code you get after your 
app has been sync'd to the device is sysAppLaunchCmdSyncNotify.  This tells 
you a database owned by your app has been changed.  In the case of an 
install, the DB that changed was your application database, since it wasn't 
there before.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: CW9 on Mac OS X

2003-02-10 Thread Scott Gruby
In article <112922@palm-dev-forum>,
 "Aaron Ardiri" <[EMAIL PROTECTED]> wrote:

> > > Does anyone besides myself think it would be useful to have 
> > > a Mac-only Palm dev list or perhaps some dedicated web site 
> > > devoted to the topic?
> > 
> > If Palm doesn't step up to the plate, I've just setup a list...
> > feel free to join.
> 
> um.. is there really a need for something like this? some of us have
> been using prc-tools since day one - so, none of this is exactly news
> to the most of us. 
> 
> why not just subscribe to the prc-tools mailing list? there has been
> a bit of macos x discussion there lately *specific* to prc-tools.
> i am sure John and the others on that list will mind if there are
> discussions about converting from codewarrior -> prc-tools on that
> list. some of that info can be worth while.
> 
> http://prc-tools.sourceforge.net/


While this is a great suggestion, do you discuss Project Builder 
integration on this list?

-- 
Scott Gruby
[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread David H. Silber
On Mon, Feb 10, 2003 at 07:32:45PM +0100, Aaron Ardiri wrote:
> > > Does anyone besides myself think it would be useful to have 
> > > a Mac-only Palm dev list or perhaps some dedicated web site 
> > > devoted to the topic?
> > 
> > If Palm doesn't step up to the plate, I've just setup a list...
> > feel free to join.
> 
> um.. is there really a need for something like this? some of us have
> been using prc-tools since day one - so, none of this is exactly news
> to the most of us. 
> 
> why not just subscribe to the prc-tools mailing list? there has been
> a bit of macos x discussion there lately *specific* to prc-tools.
> i am sure John and the others on that list will mind if there are
> discussions about converting from codewarrior -> prc-tools on that
> list. some of that info can be worth while.
> 
> http://prc-tools.sourceforge.net/

Um.  There are three lists there.  prc-tools-announce, prc-tools-cvs,
and prc-tools-devel.  None of them appear to be for purposes of
user-level discussion.

I would love to find a mailing list for users of prc-tools.

Thanks,
David
 

-- 
David H. Silber
Adventures In Palm Programming:  http://www.SilberSoft.com/~palm/adventures/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Ben Combee


I would love to find a mailing list for users of prc-tools.


news.falch.net has pilot.programmer.gcc which is for user-level discussion 
of prc-tools.  I don't think there is a news-to-mail gateway for that.

tools-forum is the appropriate list at news.palmos.com for discussions 
about tool development and use.  Discussions on bring up a new Mac OS X 
toolset would probably best be held there.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: CW9 on Mac OS X

2003-02-10 Thread John Marshall
On Mon, Feb 10, 2003 at 07:32:45PM +0100, Aaron Ardiri wrote:
> why not just subscribe to the prc-tools mailing list? there has been
> a bit of macos x discussion there lately *specific* to prc-tools.
> i am sure John and the others on that list will mind if there are
> discussions about converting from codewarrior -> prc-tools on that
> list. some of that info can be worth while.

I don't think it's what you meant :-), but what you have written is
correct.

See in particular the "About prc-tools-devel" section at

http://lists.sourceforge.net/lists/listinfo/prc-tools-devel

People volunteering to maintain and build packages for prc-tools on
Mac OS X (yes please! actually I think we have one in Philip Streck,
but the more the merrier) would be most welcome on prc-tools-devel.
In particular, I think it's clear that that mailing list is the
canonical place for that sort of "building prc-tools" discussion.

On the other hand, discussion of migrating projects, writing makefiles,
converting .rsrc files, etc, is all discussion of *using the tools*, not
*making the tools*.  As such, it would be OFF-TOPIC on prc-tools-devel.

Discussions about how to convert CW projects to prc-tools projects are
of interest to everyone converting from CW to prc-tools, which is a much
larger group of people than the group of people interested in prc-tools
internals.  Thus, for the sake of people looking for nuggets in the
archives, these conversion discussions deserve to take place somewhere
rather more mainstream than prc-tools-devel.

Existing places where such discussions would be on-topic include
palm-dev-forum, tools-forum, and pilot.programmer(.gcc).

John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Handspring says "delete third-party applications"

2003-02-10 Thread Palm Dev Forum
Simply said,  This is a licensee speaking, not PalmSource.

The licensee directed this to end users, of which (as I have heard from
"those marketing guys") only about 10% of these users ever load a program
onto their devices.  Less than one percent load a "business" program, the
rest are "consumer" programs.

Personally, I think the marketing "head" didn't review this article well.
They didn't consider what the "message" was.  We know what we want the
message to be.  We hope they want the same message.

Also, with PalmSource's new and recent licensing agreements and in some
cases, lack of renewal of certain license agreements, gives me (personally)
the impression that they are not considering the developers as a necessary
part of their success.  Look at the Zire and when China comes out with units
under $50, how important is the developer segment to PalmSource, Palm or the
licensees?   (see press release Palm Solutions Group to Enter China -
http://pressroom.palm.com/InvestorRelations/PubNewsStory.aspx?partner=Mzg0Tl
RFMU1BPT1QJFkEQUALSTO&product=MzgwU1ZJPVAkWQEQUALSTOEQUALSTO&storyId=77428)


Gary Gorsline
Easy Business Software
== End of Message ==

- Original Message -
From: "Jeff Wheeler" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 9:34 AM
Subject: RE: Handspring says "delete third-party applications"


FWIW, the complete sentence that ends the paragraph is: "To maximize your
power potential, delete any third-party software applications you don't
need."

The complete section in the e-mail is:



Handheld Lessons: Extend Your (Battery) Life

Want to make the most of your Handspring organizer's battery life? Here are
a few easy tips to help you stretch your power.

The worst offenders in the battle against battery drain are third-party
software applications. Not only do they use more energy than the built-in
apps when the device is running, they can even suck power while the device
is off. To maximize your power potential, delete any third-party software
applications you don't need.

Another way to help conserve battery power is not to store Springboard
modules or expansion cards in your device. As with third-party software
applications, they do drain small amounts of power even when not in use.

Beyond that, using the backlight at its brightest setting, continuous use of
the keyboard backlight or ignoring repeating Date Book Plus alarms can also
add undue drain on your battery. Even unexpected things-like a case that
fits too tight, or too many high-powered software applications can shorten
your battery's anticipated power output.



Jeff



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Joe Malone
Sent: Monday, February 10, 2003 7:56 AM
To: Palm Developer Forum
Subject: Handspring says "delete third-party applications"

In its never-ending quest to support the Palm Economy, Handspring
issued this advice today (see Handspring e-newsletter):

"The worst offenders in the battle against battery drain are
third-party software applications. Not only do they use more energy
than the built-in apps when the device is running, they can even suck
power while the device is off. To maximize your power potential, delete
any third-party software applications..."



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/




--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Hal Mueller
At 9:26 AM +0100 2/10/03, Aaron Ardiri wrote:

i dont know why the CWR9 on mac not happening is news to most of you.


Gee Aaron, maybe it had something to do with the statements MW made 
at the last Palmsource.

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: CW9 on Mac OS X

2003-02-10 Thread Aaron Ardiri
> >i am sure John and the others on that list will mind if there are
>  
> ^^^
> >discussions about converting from codewarrior -> prc-tools on that
> >list.
> 
> Surely you meant will _not_ mind, didn't you? :-)

yes.. '_not_' mind :) typo

---
Aaron Ardiri   [EMAIL PROTECTED]
CEO - CTO  +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Aaron Ardiri
> Um.  There are three lists there.  prc-tools-announce, prc-tools-cvs,
> and prc-tools-devel.  None of them appear to be for purposes of
> user-level discussion.
> 
> I would love to find a mailing list for users of prc-tools.

and, i think it takes a good few seconds for John to create a new one :)
prc-tools-users for example?

---
Aaron Ardiri   [EMAIL PROTECTED]
CEO - CTO  +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Aaron Ardiri
> >i dont know why the CWR9 on mac not happening is news to most of you.
> 
> Gee Aaron, maybe it had something to do with the statements MW made 
> at the last Palmsource.

last palmsource? that was over a year ago - it brings up an interesting
question tho, when is the next palmsource event? :) some of us would
like to make travel reservations *g*

---
Aaron Ardiri   [EMAIL PROTECTED]
CEO - CTO  +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Hal Mueller
At 9:24 AM -0800 2/10/03, Steve Mann wrote:

Does anyone besides myself think it would be useful to have a 
Mac-only Palm dev list or perhaps some dedicated web site devoted to 
the topic?

I think a separate mailing list would just marginalize us even more. 
Better to keep the discussions in tools-forum and dev-forum, esp for 
those of us who need to be cross-platform compatible.


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


RE: Handspring says "delete third-party applications"

2003-02-10 Thread js3guj
Sean Charles [mailto:[EMAIL PROTECTED]] wrote:
| 
| What does it matter if you don't use it or don't need it??? I 
| am puzzled 
| greatly how this affects the battery life. Perhaps with less apps. 
| installed, the refresh bicycles don't wear their tyres out 
| and therefore 
| last longer as they don't have so far to go?

Have you experienced slowdown from the lots of apps installed
or lots of system extension installed (and activated)?
The slowdown comes from more cpu cycle and affects battery life?

My DragonBall EZ 16MHz device gets slowdown with just one system
extension, if it hooks SysHandleEvent().

| This is possibly a valid point...but isn't that what they are 
| for...what's the point of having an app. launcher if you only 
| have one 
| program on your device for example. It's more of a burden for users, 
| whic is why a *good* lanucher is even more useful. Serves users for 
| littering their devices!
Just one 3rd party app is a quite extreme example and not valid here.
As I said above, switching apps will slowdown when lots of apps
installed.

| Can you please explain to me, in words (endian-ness of your 
| choice) of 
| one syllable because I am 2sTooPID to understand how deleting 
| programs 
| from a device is going to extend the battery life. My battery 
| tends to 
| wear out when I turn it on and use *any* program, 3rd party 
| or not. 

Yes.  Of course every programs consume battery energy.
But complex apps eats more cpu cycle, so consume more
juice.

| Does your PC slow down when you fit another hard drive?

I think this is not a valid analogy...

Anyway an old i386 or i486 pc with 10 or more SCSI hard drive
connected and if it must scan every disk (through PATH environment
variable) when launching apps or showing app's icons on desktop
or somewhere, I am sure the pc will slow down.

| Will my waistline 
| reduce if I throw out my old pairs of trousers and pants?

I don't know :-)

| Handspring Users: For max. battery life, delete everything, 
| jump up and 
| down on it until the battery drops out, then
|   place it in a cool dark place (inside your heads?) and I 
| guarantee that 
| your battery charge will last a very long time.

No one said "delete *every* 3rd party apps".

js3guj


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: NetLib & sluggish keyboard response

2003-02-10 Thread Chris Faherty
On Monday 10 February 2003 01:41 pm, Brian Smith wrote:
> A few people using upIRC have been reporting sluggish keyboard response
> while it's connected to a server.  The latest reports the same behavior
> with some networked apps (like terminal emulation) have the same problem,
> but not others (like ICQ).
>
> My only theory is that the keyboard driver is latching into EvtGetEvent
> (and somehow doing the equivalent on OS 5, in the last case) and supplying
> the key events that way.  In my case, though, I'm using NetLibSelect to
> see if events are in the queue while I'm connected, and the keyboard
> driver may not be handling that correctly.  That's the only thing I can
> think of, since my Wireless Link keyboard doesn't give me the same
> problems... it works fine.

I have problems like that with my Treo 300.  It's when it goes in/out of 
coverage.  In my office the reception is right on the line, and I find that 
sometimes it will actually drop keys rather than just buffering them for a 
second or two.  Yeah, I just tested it again.. typing 
"abcdefghijklmnopqrstuvwxyz" while the light was blinking red, and during 
the transition between red-blink and green-blink it stalled and I wound up 
missing a character.  This was in a non-network related text field.

-- 
/* Chris Faherty <[EMAIL PROTECTED]> */

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Handspring says "delete third-party applications"

2003-02-10 Thread js3guj
maybe this kind of trivial, meaningless posting or response is
the troller's objective

| -Original Message-
| From: Oliver [mailto:[EMAIL PROTECTED]]
| Sent: Tuesday, February 11, 2003 02:46
| To: Palm Developer Forum
| Subject: RE: Handspring says "delete third-party applications"
| 
| 
| >From :
| > Third party software have generally more functions 
| > (so dynamic steps) than built-in apps, so in 
| > general, is it legitimate to state they consume 
| > more energy than built-in apps?
| 
| Gee, I wish Handspring hadn't bundled Datebook+
| and Citytime with my Treo.  No wonder the battery
| life sucks.  
| 
| I actually found a much better solution to its 
| battery problem the other day, though.  I dropped
| the Treo and now the digitizer doesn't work anymore,
| so I can't launch any application from their launcher.
| That's going to save me a lot in battery life!  If
| you like this trick, I'd be happy to perform the
| same "upgrade" on your device.
| 
| Oliver
| 
| 
| 
| __
| Do you Yahoo!?
| Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
| http://mailplus.yahoo.com
| 
| -- 
| For information on using the Palm Developer Forums, or to 
| unsubscribe, please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread John Marshall
On Mon, Feb 10, 2003 at 08:29:18PM +0100, Aaron Ardiri wrote:
[David H. Silber wrote:]
>> I would love to find a mailing list for users of prc-tools.

Dude, this *is* a mailing list for prc-tools users :-).  In practice, at
least.  In theory, you'd add tools-forum into the mix for the tools-usage
discussions as opposed to the Palm OS programming discussions.

> and, i think it takes a good few seconds for John to create a new one :)
> prc-tools-users for example?

Sure, I could; but at present I'm very very far from convinced that it's
necessary or even a good idea.

At the moment I think the mailing lists here and the newsgroups at
news.falch.net cover the bases more than adequately, and with better
infrastructure than we have at Sourceforge [1].

Project migration discussions would involve experiences users of both
tool chains, so I reckon right here is the place.  Anyway, it's got to
be more interesting than listening to people named "js3guj" posting six
messages accusing other people of being trolls and telling them that
they need to shut up.

John

[1] In the foo-fora case, that's in spite of Lyris, not because of it :-).

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Handspring says "delete third-party applications"

2003-02-10 Thread Oliver
>From :
> maybe this kind of trivial, meaningless posting 
> or response is the troller's objective

Might I suggest you take a look at the posting 
history of Joe Malone in this forum:

http://escribe.com/computing/pcpqa/index.html?by=Author&a=Joe%20Malone

I think a reasonable person would find that
Joe has contributed significantly to this group,
much more so than the posts of "js3guj" that I can
find in the archives.   Makes me wonder who the
troll is.

I think Joe made a good point: the Palm Economy and
Palm(Source)'s marketing is (was?) all about
flexibility, 3rd party apps, hundreds of thousands
of developers, openness, etc. etc.  I, too, find it
rather strange for Handspring to come along and
make a blanket statement like the one they apparently
made.  I wish they'd spend their efforts on finding
a real solution to the battery life problems of some
of their devices (why did they stick 16 meg of RAM
into the Treos if they don't want me to run 3rd party
apps).

I very much doubt that any of my applications,
when 'just installed', will have any noticable
impact on the battery life of a PalmOS device.  If
you truly think that the fact that the launcher has 
to  display an icon for it is going to have a 
measurable effect, I think you should go and do 
some scientific measurements and present us with 
the results.

Oliver

PS: Joe -- welcome back!

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread David H. Silber
On Mon, Feb 10, 2003 at 09:15:30PM +0100, John Marshall wrote:
> On Mon, Feb 10, 2003 at 08:29:18PM +0100, Aaron Ardiri wrote:
> [David H. Silber wrote:]
> >> I would love to find a mailing list for users of prc-tools.
> 
> Dude, this *is* a mailing list for prc-tools users :-).  In practice, at
> least.  In theory, you'd add tools-forum into the mix for the tools-usage
> discussions as opposed to the Palm OS programming discussions.

As found in: http://lists.sourceforge.net/lists/listinfo/prc-tools-devel

"this is not a good place to ask about Palm OS programming problems or
other problems encountered while using the tools. Such questions are
off-topic on this list..."

If the lists *do* allow such questions, perhaps that usage statement
should be changed?

Regards,
David

-- 
David H. Silber

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread John Marshall
On Mon, Feb 10, 2003 at 03:34:37PM -0500, David H. Silber wrote:
> On Mon, Feb 10, 2003 at 09:15:30PM +0100, John Marshall wrote:
>> Dude, this *is* a mailing list for prc-tools users :-).  In practice, at
>> least.  In theory, you'd add tools-forum into the mix for the tools-usage
>> discussions as opposed to the Palm OS programming discussions.
>
> [Wild misinterpretation snipped]

The "this" in question being, of course, *palm-dev-forum*.

John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Handspring says "delete third-party applications"

2003-02-10 Thread js3guj
Oliver [mailto:[EMAIL PROTECTED]] wrote:
| 
| Might I suggest you take a look at the posting 
| history of Joe Malone in this forum:
| 
| http://escribe.com/computing/pcpqa/index.html?by=Author&a=Joe%20Malone
| 
| I think a reasonable person would find that
| Joe has contributed significantly to this group,

And it sometimes includes FUD and sometimes (or more?)
arose flame war.

| I very much doubt that any of my applications,
| when 'just installed', will have any noticable
| impact on the battery life of a PalmOS device.  If
| you truly think that the fact that the launcher has 
| to  display an icon for it is going to have a 
| measurable effect, I think you should go and do 
| some scientific measurements and present us with 
| the results.

Unfortunately I can't do that.
Just experienced slowdown from lots of apps installed.
Especially If I put apps in external memory card. Especially
when using old devices.

BTW
I wonder who said "just installed" apps affect battery life *significantly*?
Or who said "just installed" apps affect battery life first?

My responses were made against that person's posting.
And I don't think "just installed" apps can affect battery life *significantly*. 

And no one said "delete every 3rd party apps".

js3guj


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9 on Mac OS X

2003-02-10 Thread Aaron Ardiri
> > Dude, this *is* a mailing list for prc-tools users :-).  In practice, at
> > least.  In theory, you'd add tools-forum into the mix for the
tools-usage
> > discussions as opposed to the Palm OS programming discussions.
>
> As found in: http://lists.sourceforge.net/lists/listinfo/prc-tools-devel
>
> "this is not a good place to ask about Palm OS programming problems or
> other problems encountered while using the tools. Such questions are
> off-topic on this list..."
>
> If the lists *do* allow such questions, perhaps that usage statement
> should be changed?

prc-tools-devel is for development of prc-tools, not development in general.
hence why i suggested a prc-tools-users group. but, i think it probably
would be better to use pilot.programmer.gcc specifically - but, i have the
notion of news groups, i actually prefer a email system

i know, as a prc-tools user, i dont want to hear about problems people are
having with tool sets that i dont use (ie: noise) - for example, i am sure
people who specifically use prc-tools dont want to know about codewarrior
problems.

either way, maybe the tools 'lists' should be segmented appropriately?

---
Aaron Ardiri   [EMAIL PROTECTED]
CEO - CTO  +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



FrmPopupForm???...

2003-02-10 Thread Dan
Hi everyone.  I have two forms (A and B).  Form A is the "base" form, or the
form that the user is currently looking at.  On this form, there are some
control buttons and a bitmap being custom-drawn with a simple
WinDrawBitmap() call...

Now, I hit a menu item to bring up form B over most of form A with a call to
FrmPopupForm().  I use this call because I want my own event handlers for
form B.  Anyway, when I cancel out of form B with a call to
FrmReturnToForm( 0 ), the bitmap does not draw itself initially.  I want to
call my drawing routine when the user returns to form A...and I cannot call
my rendering routine from within form B.

Any ideas are always appreciated.  Ideally, I am looking for some sort of
event in form A's handler that I can catch, then redraw the bitmap.

Regards,

Daniel Suleski :->
TD, Mysticware Inc.
www.mysticware.com




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: COnnecting PalmPilot to a Internet using standard modems used by desktop PCs

2003-02-10 Thread Chris Tutty
From: "Haresh Gujarathi" <[EMAIL PROTECTED]>
> the thing sare getting clearer... I suppose I have to use a null modem
> adapter...
> 
> Now I have another problem...
> My cradle connects to USB instead of serial port...
> 
Although you can probably (as I have) get a patchwork set
of standard cables to connect a serial device to your Palm
via a serial cradle you will find the job much faster and easier
if you purchase a data cable (also referred to, as Dave did,
as a null modem cable) specially built for the job.  In terms
of the time you'll save they are good value for money.

Although the theory says that a USB cable can be used for 
serial comms I've seen reports that the way the Palm detects 
the USB cable makes it's use for serial comms difficult or
impossible.  A search of the list forum will help here (except
that the escribe forum thinks that three letter words like USB
are non-significant so you'll have to wade through the clumsy
Yahoo search).

Chris Tutty


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Looking for Symbol SPT1700's!

2003-02-10 Thread Tony Goggin
Hey everyone,

 I posted this on the Symbol forum, but I thought I'd post it here, just
in case.

 I am looking to purchase used (and/or new) discontinued Symbol SPT1700
series 2D PalmOS units.  Version of the PalmOS is unimportant.  8 meg RAM
preferred, 2 or 4 meg ROM OK.

 The 2D units can easily be identified by the "PRG" suffix near the end
of their model number underneath the battery.

 If you or your customers have any (because they're either not being
used, or want to upgrade to the PPT 2800's) then please contact me.  Thanks!

  - Tony

===
Tony Goggin, Technical Director
Salamander Technologies
[EMAIL PROTECTED]
http://www.salamandertechnologies.com
===


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



CW9, add segment 3 -> Tungsten is frozen when I kill the debugger, why?

2003-02-10 Thread ThuNguyet Nguyen
Hi all,

I am using CW9 on Win98. I debug my program on the real device (Tungsten).
My program works fine until I add segment 3 to it then the program works fine in the 
debugger
until I exit the program. At this time the palm still OK. When I kill the debugger, 
then the
Tungsten resets and and stay in the Palm logo screen forever until I do a hard reset. 

When I try to install the program to the Tungsten, the HotSync process seems to be OK 
until the
end, the Palm stays at the HotSync screen which says "Clean up - please wait". It just 
stays there
untils I do a hard reset.

This first happens a week ago. I try to go back to my older code, double check to see 
if I have
done something wrong, haven't found anything yet :(

Does anybody have this same problem? Do you know what I may have done wrong? What can 
I do? Please
help.

Thank you in advances.

tnn


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



NetLib & sluggish keyboard response (fwd)

2003-02-10 Thread Brian Smith
Second try to get this through.  Never did get it back (and yes, I am set
up to receive my own posts :-)

-- 
---
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
Friends don't let friends wear Speedos.  Ever.

-- Forwarded message --
Date: Mon, 10 Feb 2003 13:41:12 -0500 (EST)
From: Brian Smith <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Subject: NetLib & sluggish keyboard response

A few people using upIRC have been reporting sluggish keyboard response
while it's connected to a server.  The latest reports the same behavior
with some networked apps (like terminal emulation) have the same problem,
but not others (like ICQ).

My only theory is that the keyboard driver is latching into EvtGetEvent
(and somehow doing the equivalent on OS 5, in the last case) and supplying
the key events that way.  In my case, though, I'm using NetLibSelect to
see if events are in the queue while I'm connected, and the keyboard
driver may not be handling that correctly.  That's the only thing I can
think of, since my Wireless Link keyboard doesn't give me the same
problems... it works fine.

Does that sound like a logic conclusion?  If so, is there any way to get
around it, short of going back to EvtGetEvent as the core of the event
loop?  I could shorten the timeout on NetLibSelect to make it a little
better, but that would also drain the battery faster.  Going back to the
old event loop would have the same effect, since I'd have to do polling of
the network connection.

-- 
---
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
"I have opinions of my own, strong opinions, but I don't always agree
 with them." -- George H. W. Bush

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9, add segment 3 -> Tungsten is frozen when I kill the debugger, why?

2003-02-10 Thread Ben Combee
At 14:32 2003-2-10 -0800, you wrote:

Hi all,

I am using CW9 on Win98. I debug my program on the real device (Tungsten).
My program works fine until I add segment 3 to it then the program works 
fine in the debugger
until I exit the program. At this time the palm still OK. When I kill the 
debugger, then the
Tungsten resets and and stay in the Palm logo screen forever until I do a 
hard reset.

When I try to install the program to the Tungsten, the HotSync process 
seems to be OK until the
end, the Palm stays at the HotSync screen which says "Clean up - please 
wait". It just stays there
untils I do a hard reset.

What happens if you do a no-notify reset -- reset the device with the up 
part of the d-pad held?  This resets the device without sending out 
notifications to the installed applications.

When you look at your map file for your project, how large is the third 
segment?  Does it exceed 64K?  That might produce a case where CW can 
download the app, but it won't work on HotSync.  What happens when you drag 
the app's PRC file to POSE or PalmSim?

Could you please contact our technical support and submit a bug report.  We 
are looking at a number of things this week to try to fix for our next 
patch, and while I've not seen this case before, I'd love to investigate it.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: Sipix Pocket Printer

2003-02-10 Thread Alan Ingleby
I'm not sure what OS that SPT uses, but older palms (Pre OS3.3) were only
capable of 57600kpbs on the serial port, (and therefore, I presume on the IR
port)., whereas newer palms are capable of the full 115200kpbs.

Alan
"Ai Lee Tang" <[EMAIL PROTECTED]> wrote in message
news:112825@palm-dev-forum...
>
> hi all,
>
> Recently, i bought a Sipix Pocket Printer for palm printing. I noticed
that
> different type of palm carry different speed.
>
> Meaning, if i use Symbol SPT1800 to send printing to Sipix pocket printer
> via infrared rate. The speed is very very slow.
>
> if i use IBM workpad to send printing, the speed is faster.
>
> I have no idea why could this happened. Is there any setting i should take
> care for Symbol SPT1800?
>
>
> Your help is much appreciated.
>
> rgds,
> ailee
>
>
>
>
>
> _
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



prc-tools on MacOS X

2003-02-10 Thread Tim Flood

With all of the numerous postings today on whether there should be a 
specific forum for prc-tools for Mac OSX, I don't believe anyone has 
referenced http://sel.epfl.ch/~crivelli/cgi-bin/yabb/YaBB.cgi.  This is 
an existing, although apparently very little used, forum for prc-tools 
on MacOS X.

It can be accessed through the above URL or through the 
previously-referenced prc-tools installer site at:  
http://sidewww.epfl.ch/~crivelli/prctools-osx.  From this installer 
site, click the Discuss button, which will take you to the forum.  
There are very few posting, although some are quite useful.

Tim Flood
[EMAIL PROTECTED]


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: CW9 on Mac OS X

2003-02-10 Thread Keith Rollin
At 10:10 AM -0800 2/10/03, Scott Gruby wrote:

 > Does anyone besides myself think it would be useful to have a

 Mac-only Palm dev list or perhaps some dedicated web site devoted to

 > the topic?

If Palm doesn't step up to the plate, I've just setup a list...feel free
to join.


You may recall that the person who administers these lists doesn't 
actually read them, looking for embedded tidbits posted in her 
direction.  In order to get her attention, please send email to any 
of the list-owner addresses indicated on the Forum Help page, 
reachable from .

-- Keith Rollin
-- Palm OS Emulator engineer

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: Exchange Library project settings confusion

2003-02-10 Thread Brian Smith
On Mon, 10 Feb 2003, Jason Freund wrote:

> I didn't see any app install appLaunchCmd -- that would've been nice to
> have here.  I guess I will have to set the reset bit in order to get the
> reset launch command.

Erm, unless I miss my guess, syncNotify is the install notification.

-- 
---
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
Truly great madness cannot be achieved without significant intelligence.
   -- Henrik Tikkanen

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: FrmPopupForm???...

2003-02-10 Thread Bill Heidler
You should get a frmOpenEvent and a winEnterEvent for Form A when you do the
FrmGotoForm().

---
Hi everyone.  I have two forms (A and B).  Form A is the "base" form, or the
form that the user is currently looking at.  On this form, there are some
control buttons and a bitmap being custom-drawn with a simple
WinDrawBitmap() call...

Now, I hit a menu item to bring up form B over most of form A with a call to
FrmPopupForm().  I use this call because I want my own event handlers for
form B.  Anyway, when I cancel out of form B with a call to
FrmReturnToForm( 0 ), the bitmap does not draw itself initially.  I want to
call my drawing routine when the user returns to form A...and I cannot call
my rendering routine from within form B.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: CW9, add segment 3 -> Tungsten is frozen when I kill the debugger, why?

2003-02-10 Thread ThuNguyet Nguyen
Hi Ben,

>I am using CW9 on Win98. I debug my program on the real device (Tungsten).
>My program works fine until I add segment 3 to it then the program works 
>fine in the debugger
>until I exit the program. At this time the palm still OK. When I kill the 
>debugger, then the
>Tungsten resets and and stay in the Palm logo screen forever until I do a 
>hard reset.

Ben wrote:
What happens when you drag 
the app's PRC file to POSE or PalmSim?

--> When I drag the PRC to PalmSim. It is OK, I run it, it is OK, actually it doesn't 
do much
because I need the SD card to work with my program so the program just display an 
error message
and tapping OK exits the program.
Then, I try to run the debugger, exit the program on PalmSim OK but when I try to kill 
the
debugger, I get this error "I:\DoghouseII\ARM\Core\Emul68K\SrcSlowEmu\Run68K.c, 
Line:3109, Invalid
read from FF28" in the message window, there are also 3 buttons "Reset", "Ignore" 
and "Quit"
on the next line, then button "Debug" on another line. The last line has 3 checkboxes 
"Break in
Native" (uncheck), "Break in 68K" (check), and "Break in Native then 68K" (uncheck). 
When I hit
"quit" button, this message window disappear, so does the PalmSym. I open the PalmSym 
again and
try to debug again but I get the message saying that it can not down load the database 
because the
database may be protected by DmDatabaseProtect().

Ben wrote:
What happens if you do a no-notify reset -- reset the device with the up 
part of the d-pad held?  This resets the device without sending out 
notifications to the installed applications.

--> IF I do a no-notify reset, the Tungsten goes to Prefs (back to normal). Now, I can 
run my
program normally (not in debug mode).

Ben wrote:
When you look at your map file for your project, how large is the third 
segment?  Does it exceed 64K?

--> I don't know if I look at the right place. Segment 1:41K, segment2: 32K, segment 
3:26K. The
program always gets to the point that I have the linker errors "16 bit out of 
range..." before it
reachs 64K.

I will contact tech support, I think it is bugs in my program ...

Thank you so much for the quick response.

tnn


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re:FrmPopupForm???...

2003-02-10 Thread ThuNguyet Nguyen
Hi Dan,

What I did is
In frmUpdateEvent, I call FrmDrawForm(), then do all the custom draw for your form 
after that.
Sometimes, I have to erase the whole window, then draw the form, then do all the 
custom draw.

Hope that helps.

tnn

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Exchange Library project settings confusion

2003-02-10 Thread Jason Freund

> Brian, Ben:
> ...
> Erm, unless I miss my guess, syncNotify is the install notification.

Yes -- I'd thought that it only got that notice after a hotsync.  The app
doesn't get it after dragging a PRC onto pose; but after testing, I see that
it does get the event after the app is beamed.

Thanks,
Jason


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



RE: Anchient History (was: RE: Handspring says "delete third-party applications")

2003-02-10 Thread Joe Malone
--- Oliver <[EMAIL PROTECTED]> wrote:
> ...
> PS: Joe -- welcome back!
> 

Oliver, thank you for your kind words.  

--- <[EMAIL PROTECTED]> wrote:
>
> And it sometimes includes FUD and sometimes (or more?)
> arose flame war.
>

A brief review of everything I previously posted on Palm-dev-forum does
include one instance of alleged FUD - a case in which John Marshall
(who rarely makes such mistakes) misunderstood my attempt at humor and
accused me of spreading FUD.  This was followed by a rather rude remark
from one "IKEDA Shigeru" (aka js3guj?) who apparently was also not able
to understand the humor and took offense.

Let me state this for the record:  I am not a "troll".  I joined this
forum to share in the knowledge of programming palm powered devices.  I
have learned a lot from the forum, and I have shared much of what I
know with others.  I never posted anything that was, or was intended to
elicit, "trivial, meaningless posting" (although I enjoy reading posts
from people with a sense of humor, and I may have joked once or twice
myself).  However, js3guj is convinced otherwise.

I no longer have the time to post lots of answers to questions, though
I do frequently read palm-dev-forum -- I am currently trying to handle
4 full-time jobs at once.

Adios.


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Sipix Pocket Printer

2003-02-10 Thread Ai Lee Tang
hi alan,

Thanks for the reply.

SPT1800 is using OS4.1. So i dont think is due to the OS.

rgds,
ailee


From: "Alan Ingleby" <[EMAIL PROTECTED]>
Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Subject: Re: Sipix Pocket Printer
Date: Tue, 11 Feb 2003 10:00:19 +1100

I'm not sure what OS that SPT uses, but older palms (Pre OS3.3) were only
capable of 57600kpbs on the serial port, (and therefore, I presume on the 
IR
port)., whereas newer palms are capable of the full 115200kpbs.

Alan
"Ai Lee Tang" <[EMAIL PROTECTED]> wrote in message
news:112825@palm-dev-forum...
>
> hi all,
>
> Recently, i bought a Sipix Pocket Printer for palm printing. I noticed
that
> different type of palm carry different speed.
>
> Meaning, if i use Symbol SPT1800 to send printing to Sipix pocket 
printer
> via infrared rate. The speed is very very slow.
>
> if i use IBM workpad to send printing, the speed is faster.
>
> I have no idea why could this happened. Is there any setting i should 
take
> care for Symbol SPT1800?
>
>
> Your help is much appreciated.
>
> rgds,
> ailee
>
>
>
>
>
> _
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
>



--
For information on using the Palm Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: CW9 on Mac OS X

2003-02-10 Thread Steve Mann
You may recall that the person who administers these lists doesn't 
actually read them, looking for embedded tidbits posted in her 
direction.  In order to get her attention, please send email to any 
of the list-owner addresses indicated on the Forum Help page, 
reachable from

Thanks for the reminder Keith.

Regards,
Steve Mann

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/



Re: Exchange Library project settings confusion

2003-02-10 Thread Ben Combee
At 16:16 2003-2-10 -0800, you wrote:


> Brian, Ben:
> ...
> Erm, unless I miss my guess, syncNotify is the install notification.

Yes -- I'd thought that it only got that notice after a hotsync.  The app
doesn't get it after dragging a PRC onto pose; but after testing, I see that
it does get the event after the app is beamed.


Dropping an app onto POSE is a abnormal situation, and doesn't really 
happen with real devices. :)  When POSE sees the PRC, it does its own 
internal import routine which just adds the PRC to the devices memory, in 
much the same way that an external debugger would.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Re: Writing an allocator for Palm

2003-02-10 Thread Alan Ingleby
Is there no way you can allocate your memory using MemHandleNew, and then
simply lock it down (MemHandleLock) as you need to access it?  After all,
that's the way the OS was designed to be used...

Another alternative (which you're playing with breaking rules) is to
allocate the memory in the storage heap, and if you need fast random write
access to it, simply tweak the Semaphores to allow it.  This method would
also bypass the requirement to use MemPtrSetOwner, and also (depending on
creator codes chosen) give you the added bonus of automagicly deleting all
your allocated memory when your app is deleted.

Alan
Profitlink Consulting

"Eric House" <[EMAIL PROTECTED]> wrote in message news:112577@palm-dev-forum...
>
> I'm working on an app that maintains a significant memory presence in
> the heap for as long as the device is running.  That is, it will set
> the OwnerId of the blocks it requests to 0 so that they don't get
> cleaned up each time PilotMain exits.  In effect, it'll take
> responsibility for its own memory management.
>
> Right now it just uses MemPtrNew (with MemPtrSetOwner) and MemPtrFree.
> But we're finding that over the uptime of a device we get significant
> fragmentation in the heap.  We run and allocate.  Then another app
> runs and allocates in the space we've left free.  Then it quits and we
> run and allocate and free some more.
>
> I *think* (but would be happy to be told I'm wrong) that the best
> solution to this it to write our own allocator.  The first time we're
> launched we'd ask PalmOS for a number of large chunks low in the heap,
> make them permanent, and we'd do all subsequent allocations out of
> those chunks.  Pretty standard CS stuff.
>
> Assuming that's the right way to go, can anyone point me at
> discussions or even code for allocators suitable for a non-ARM Palm
> device.  I'm looking at Doug Lea's popular allocator
> (http://g.oswego.edu/dl/html/malloc.html) but am afraid it'll be too
> heavyweight for our purposes.  Other suggestions?
>
> (BTW, I don't want to get into a discussion about what a bad citizen
> I'm being by hogging all this memory.  The app in question will be
> installed on devices that are purchased specifically to run the app.
> Strictly speaking it's not a requirement that we allow any third-party
> apps to run, but of course we want to be the best citizens we can.  We
> want to make sure there's room for third-party apps to work well.)
>
> (Also, I know that the right way to do this is to break our allocations
> out into frequently-written blocks, which would go in the heap, and
> infrequently-written blocks, which could go in storage memory.
> Unfortunatly that isn't an option, as most of the code was originally
> written for other platforms that didn't have that distinction and must
> remain cross-platform.)
>
> Thanks,
>
> --Eric House
> --
>

**
> * From the desktop of: Eric House, [EMAIL PROTECTED]
*
> *Crosswords 4.0 for PalmOS is out!:
  *
>

**
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Simulator

2003-02-10 Thread Alan Ingleby
No.

"Chris Apers" <[EMAIL PROTECTED]> wrote in message
news:112506@palm-dev-forum...
>
> Hi,
>
> Can i remove the 4M ram disk on simulator ?
>
> thanks
> Chris
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



error reading from unlocked chunk of memory while DmWrite

2003-02-10 Thread Veronica Loell
I get an error message indicating that I am reading from an unlocked chunk
of memory. The memory chunk in question (trough pointer variable 'value')
is however not unlocked by me, and I can't really figure out if it does get
unlocked by itself somehow, or if there is something else wrong.
I am assuming that it is the variable 'value' that is the problem since I
am writing to 'p'. But of course 'p' is also locked by me and not unlocked.

The errormessage below is presented when executing row no:
30 DmWrite(p, 0, (UInt32*)StrAToI(value), sizeof(UInt32));

Grateful for any ideas?

- Veronica Loell


Error message:
---
pavotid palm (unknown version) just read from memory location 0x2714, 
which is in an unlocked chunk of memory.

An "unlocked chunk of memory" is one that has been allocated with MemHandleNew 
but that has not been locked with MemHandleLock. Such an access usually means 
that an application allocated a buffer with MemHandleNew, locked it with 
MemHandleLock, unlocked it with MemHandleUnlock, and then used the pointer 
that was returned by MemHandleLock.
---

 1Err parseEss( Int16 start, Int16 end, Char *str  )
 2{
 3  UInt16 ix,s1,s2,size;
 4  UInt32 snr;
 5  Char *value,*v2, *strK, *t1,*t2;
 6  Err error;
 7  MemHandle h, tempH,tempH2;
 8  MemPtr p;
 9  ix = DmNumRecords(gtblEssar);
10  HostTraceOutputTL(appErrorClass, 
"*fcall*xmlFunctions.c:parseEss(start=%hd,end=%hd, str=%s)",start,end,str);
11  h = DmNewRecord(gtblEssar, &ix, sizeof(ppavotidRecEssarType));
12  if (h) {
13  p = MemHandleLock(h);
14
15  t1 = (Char*)"";
16  t2 = (Char*)"";
17  s1 = (UInt16)(StrStr(str, t1 )- str + StrLen(t1));
18  s2 = (UInt16)(StrStr((str+s1), t2 )- str - 1);
19  size =(UInt16)(s2-s1+2);
20  HostTraceOutputTL(appErrorClass, "ppavotidGetInfo:s1=%hu, s2=%hu, 
size=%hu",s1,s2,size);
21  tempH = MemHandleNew(sizeof(Char)*(size+1));
22  if (tempH){
23  value = (Char*)MemHandleLock(tempH);
24  if (size>0)
25  {
26  value = StrNCopy(value, (str+s1), size);
27  value[size-1] = chrNull;
28  snr = (UInt32)StrAToI(value);
29  HostTraceOutputTL(appErrorClass, "=%lu", snr);
30  DmWrite(p, 0, (UInt32*)StrAToI(value), sizeof(UInt32));
31  HostTraceOutputTL(appErrorClass, "skrivit till post");
32  MemHandleFree(tempH);
33 }
34  }

..


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: serial ROM token Problem

2003-02-10 Thread Kevin
But if it's showing the Serial num in the info dialog, doesn't that 
imply it does have a serial number and one should be able to get it via 
the api call?

Kevin

[EMAIL PROTECTED] wrote:
On Fri, 7 Feb 2003, Gary Hislop wrote:



I have a Tungsten palm device which is running palm OS 5.0. For my
software running on earlier versions of palm OS I simply used the
sysROMGetToken API to retrieve the serial number. This particular palm
device is able to display a serial number in the info window, but I am
not able to access it using the previously mentioned API.



Not all Palm devices have serial numbers (even the Programmer's Companion
says that only some devices have one).  Perhaps the Tungsten T doesn't?
Just a thought :-)





--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/



  1   2   >