I guess it depends on what bug you are talking about. Glib only
releases the first code segment when your application quits, so you get errors
that way. You have to release the other code segments yourself. Code like
this should be put in your first code segment and called before you exit the
If you need to handle Unicode display/entry, you can try using my Unicode-GLib
library. It supports Unicode display for quite a few scripts.
Here's the link on Sourceforge: http://sourceforge.net/projects/unicode-glib/
You can download the test application UniTest to get an idea of how it works.
I have an application that loads code from standalone code resources in a
second application. The second application also has form resources, but I don't
use those. At first, I had errors because the resources in the second
application were being read and opened first (since PalmOS tries to use
Oops. I left out a file in build-prc. The example should have been like this:
pilrc App.rcp
m68k-palmos-gcc -O1 -o App -x c App.c
m68k-palmos-gcc -O1 -o Standalone_07d0 -nostartfiles -Wl,-eStandalone_07d0 -x c
Standalone_07d0.c
mv Standalone_07d0 code07d0
m68k-palmos-gcc -O1 -o Standalone_07d1
OK, I finally figured it out. Thanks for the piece about the -e option, that
was critical.
I'll post what I did for anyone else who stumbles across this thread later in
search of help.
So let's say I have these files to compile. An App.rcp file, an App.c file that
has some code to make an actu
>>you just need to know what your doing.
Aha! That's the problem!
>>you need to ensure that the pointer you have actually points to the
code you want to execute. for example; dont try to execute data.
i hope your using gcc, as you can have much more control over
your binary generation :)
I think
I'm trying to do something that might be crazy, and it might not work because
of information I don't know about.
I have written a Unicode-GLib that handles Unicode text display, as well as a
Unicode text-entry gadget, a Unicode list gadget, and a customizable Unicode
keyboard. I am interested i
I have created a Unicode GLib using PODS, but I have someone asking me how to
get their Code Warrior application to link with the libUnicode.a file that I
have distributed.
I don't have Code Warrior so I have no idea. Has anyone ever used a GLib with
Code Warrior? Any idea how to do this?
Jer
I am trying to make my Unicode-GLib library into a multi segment library,
because I ran out of space.
I followed some information on how to convert to multiple segments, and it
seemed to work OK while I was compiling the library.
For example, I added this to my UniString.def file:
multiple code
It doesn't support Unicode meaningfully if you actually want to display Unicode.
That's why I wrote the Unicode-GLib library, which is now open source. It
handles character display well in several scripts (Arabic, Hebrew, Greek,
Russian, Thai, Tamil, Chinese, Korean, and others). It has convenie
Can anyone tell me what FntDefineFont is doing behind the scenes? And is there
any valid way to undefine a font?
It seems to me (and someone else posted a message earlier - FntDefineFont and
Dynamic Heap) that when you use FntDefineFont, it takes up space in the heap (I
can see this happen in
Did you ever figure out a way to use fonts from a .pdb without impacting heap?
I am doing the same thing (custom fonts stored in a .pdb) and I just now
tracked down a bug where my program crashes - it is because of too many fonts
being defined, and they take up all the heap space.
I had no ide
Did you ever figure out a way to use fonts from a .pdb without impacting heap?
I am doing the same thing (custom fonts stored in a .pdb) and I just now
tracked down a bug where my program crashes - it is because of too many fonts
being defined, and they take up all the heap space.
I had no ide
Hi,
Everybody in here has seen a million requests, "How can I use threads", and a
million responses, "You can't".
Well, I saw this posted on Slashdot and I thought it might be useful to someone.
>From the Protothreads site:
[quote]
Protothreads are extremely lightweight stackless threads design
illic
script, Greek script, Chinese, etc. fairly well without additional code. Some
languages will need to have additional code written for them before they will
work (e.g. most Indian languages).
You can write to me if you want more info.
Jeremy Brown
[EMAIL PROTECTED]
--
For information on
I wouldn't mind making it available to the public. Right now it's a bunch of
separate utilities. I'm thinking about trying to integrate it into a single
program. Right now it can convert:
GIF image (in a certain format) into a Palm font
Palm font into a GIF image
Windows/Mac font into a Palm f
***Update***
Sorry, the previous message was quite wrong. This new data I am pretty sure is
right. Although there are some things about it that I still don't understand.
Sorry for the misinformation.
Header record for an extended font (NFNT) that ONLY includes a double density
font (no low
Hi,
I previously managed to create a Java program that would convert a TTF font
into a Palm font (NFNT). I wanted to make another Java program that would make
an extended font (nfnt) with only a hi res font, no low resolution or 1.5
density font.
It took me a while to figure out, but here are
What do you need specifically? Currently there isn't much support for Unicode on
PalmOS. TwinyPalm has a program called UReader, and a library called UFont SDK that
does some Unicode text display http://www.twinypalm.com. From what I saw of it, it
only displays characters thought, it doesn't
19 matches
Mail list logo