John Marshall wrote:
Warren's reply when I pointed this out to him over a week ago was:
Yes, my domain host has the site screwed up at the moment. You
can do a Google search and read the cached version in the meantime.
He doesn't actually explicitly say he's beating on the
John Marshall wrote:
Everything you want to know about -g can be figured out from GCC's -g
documentation and http://prc-tools.sf.net/cgi-bin/info/Using+a+debugger .
Also Warren Young's FAQ has a useful section.
And the FAQ is more useful now -- your post prompted an update to the
article,
Jaime Villela wrote:
Is there any benefit to rolling my own constructor as opposed to just
creating a C++ class and using the default new method?
MemPtrNew() will only allocate the memory for you. It won't call
constructors for you like operator new will.
If the objects you are creating
Carlo Mocci wrote:
Any clue ? Do I have to initialize in some way the Float Manager ?
There's an article in my FAQ which will help you get started with
floating point under Palm OS. Your previous experience is mostly
invalid under the Palm OS, unfortunately.
--
= The Palm OS Programmer's
is far superior to batch files.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
on the
Palm, leaving big fancy features for the PC side.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm Developer Forums
Peter wrote:
It is giving error as dbprg No such File ro Directory
Download the Hello, World! sample from the FAQ, build it, and see how
your build commands differ from the way the sample is built. This will
tell you why you don't get a .prc-less file from the linker.
--
= Warren Young
enough for your purposes.
I don't know if either of these have been built or tested on Palm OS.
You may run into problems related to Palm OS's memory limits. See FAQ
item 1.8 for details. 1.9 is also useful, if you choose to try and
build Xerces.
--
= Warren Young -- Maintainer of the Palm OS
. The latter has
problems because it can cause other jumps to become out of range, so you
can only carry that solution so far before you have to add segments.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040
a
modem synch handler to each phone line you set up for remote
synchronizations.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm
version of pow() and sqrt(). If instead
you use PRC-Tools' single-precision math library, you get 15.96
or something like that.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086
an older device) provided by the OS, or
create your own font and load it up as a resource. On the latter, I
have no idea how to proceed, but there are many sample fonts floating
around the Net.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent
? If so, promoting the bind() failure to a popup warning would be
annoying, without some additional infrastructure like a semaphore that
the first copy of POSE creates, and subsequent copies check to see if
another copy of POSE is running.
--
= Warren Young -- Maintainer of the Palm OS Programmer's
Steve Mann wrote:
I guess I wasn't very clear. My point was that NULL is not a void
pointer as Warren Young pedantically asserts. It's merely zero.
$ cat bang.c
#include stdlib.h
void bang(void)
{
char c = NULL;
}
$ m68k-palmos-gcc -c bang.c
bang.c: In function `bang':
bang.c:5
ajitnk wrote:
how do i convert a floating point number stored in a String(char*) to value
of data type "float".
Urgent: Read the FAQ.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36
a void pointer in C, not a character.
/pedantic
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
h
program design issue. This isn't the right forum for
those sorts of questions.
For my take on the C vs. C++ debate with respect to Palm OS programming,
see item 1.7 in the FAQ. You may also find the "C/C++ Portability
Guide" article helpful.
--
= Warren Young -- Maintainer of the Palm OS P
to figure it out, it would
dwarf the effort Palm would need to expend on improving the explanation.
If someone wants to write a simple code sample that shows how to do
this, I'll put it in the FAQ, with attribution.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http
ed library. The
linker was complaining because MathLib.h alone doesn't give you all you
need to call into MathLib.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For informatio
Casey Smith wrote:
I know the resource limit is 64K, but how many resources can I create that
are 64K each? I seem to be running into a limit somewhere?
See item 1.6 in my FAQ. There are _many_ limits to beware of.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ
SVBN MURTHY wrote:
zs.zalloc = (alloc_func)0;
Are you sure you're not supposed to set this data member to a "malloc"
type function? Having never used ZLib myself, that's just a guess.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
4 digits, sometimes after only 2, depending
on rules I've forgotten. I seem to remember a column in CUJ by PJ
Plauger on i18n that covered this.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N
Somehow in the last few months, I managed to break something which now
prevents me from debugging with Pose and gdb. (I'm fuzzy on this since
the last time I used the debugger was in October sometime.)
I've tried everything: searching the archives, reinstalling PRC-Tools,
upgrading to pose
Nicolas Raitman wrote:
Saldo = FlpAToF("30.3");
Read The Fine Manual. It tells you that FplAToF() only accepts numbers
in scientific notation. That is, "3.03E1" would work.
If you want a routine that isn't quite so picky, see the "floating
point" articl
?
There's a "commafier" in Snippets: www.snippets.org
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm Developer Forums, or to uns
built ZLib
shared library you could use.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm Developer Forums, or to unsubscribe, please
). But this is
fixed overhead, and the compression is 55-60% for most apps.
Another problem is that RunZip doesn't work on OS 3.1 or older. It
requires the "runnable database" feature which was added in 3.2, IIRC.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyb
and function inlining,
which makes the program bigger.)
If you gave more details, I'm sure we could come up with even more
useful advice...
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086
functions in a Palm program.
2001.01.02
Added a question on getting the Palm user name.
This summary excludes typo fixes and updates to the Resources section.
--
= Warren Young, maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq
sufficiently happy with the program, they won't
go and write their own version. If the developers accept patches, there
won't be a need to fork it at all.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N
But if you must change the terminology, my vote is for "mods".
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm Developer Forums,
g your programs huge on a
device designed to be as small as reasonably possible, just to save a
bit of time in development. We're not developing for PCs or WinCE
devices here. This is a Palm we're talking about here.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberpo
FAQ items as they navigate to
their immediate goal.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm Developer Forums, or to unsubscri
y complete argument
against using STL in Palm OS programming.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm Developer Forums, or to u
it.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech
35 matches
Mail list logo