Doug Gordon wrote:
Henk wrote:
I know that pnoJpegLib has its support compiled for
the ARM processor family, but does it also have the
68K code in it so that it will work on an old non-ARM
device?
There is a 68k Jpeg lib as well. Just use both and
when you are on a OS 5 (ARM) device, try first to
open pnoJpegLib, when it fails or you are
on a 68k device (OS < 5) open JpegLib.
Yes, I originally wrote my app this way. But the problem is that my application
is used by a lot of very non-technical people and I was concerned about the
support issues if I distribute two different library modules and expect people
to install the correct one according to their device or O/S version. Right now
I have gone back to just supplying JpegLib and doing it all in 68K mode, but I
can see even on my T3 that it is a lot slower than using pnoJpegLib.
Maybe the solution is to install both libraries on all devices during my
installation procedure, and my app will just look for pnoJpegLib on PalmOS V5 and
later. Yes, I would be taking up some extra memory with a library that is not used,
but it is not that much compared to the rest of the application & data.
Correct, this is the way to go...
Henk
--
-------------------------------------------------------------------------
Henk Jonas [EMAIL PROTECTED]
Palm OS ® certified developer
Please contact me, if you need an off-site contract worker.
-------------------------------------------------------------------------
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/