Hi all,

I couldn't face doing a global 'search and replace' in all of my code for
the naming changes that Palm OS 3.5 requires... so I created a Perl script
to automate the vast majority of the work needed.

Instructions:

The Perl script should be run with the current directory being the one that
contains the source files you want to upgrade. Running the script will
create an 'os35' sub-directory that contains upgraded versions of all .c, .h
and .cpp files. I'm not guarenteeing that it'll solve all problems (some of
the hardware access stuff you'll definitely want to look at) but you should
find that most of the code compiles OK.

In Unix you may be able to run it simply as 'os35upgrader.pl' if you've set
the executable flag on the file and you have Perl installed as
/usr/bin/perl. In Windows you'll probably run a Command prompt and run 'perl
os35upgrader.pl'. You'll need to have a version of Perl installed first, of
course...

Disclaimer:

Back up your files first! This script is provided for your convenience and I
can't say that I'll be able to help with any problems that show up (we're
currently very busy upgrading our own stuff to colour and 3.5).

Download:

http://www.astraware.com/download/palm/os35upgrader.zip

Have fun! The colour stuff is just so cool! Thanks, Aaron, for your update
to PilRC!

Seeya,
David
---
David Oakley - [EMAIL PROTECTED] - ICQ 9610512
partner, Astraware - http://www.astraware.com/
New: Zap!2000 for Palm: http://www.astraware.com/palm/zap2000/?dsig



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to