Page 1 of 1

PostPosted: Sun Jul 15, 2001 5:17 pm
by jstadolnik
It is possible to imbed one native library file into an applet .prc file (one is the palmOS limit). Here's how:

1) Download and install "par" in your work directory.(

2) Change the library call in your code to point to the applet itself.


@dbname "applet_name";
library "applet_name"
main() {

3) Copy the orignal native library's .lib file to be "applet_name.lib".

4) Recompile the application.

5) Extract the libr0000.bin resource from the library with the following dos/bash command line using the appropriate native library name:
"par.exe x native_lib.prc"

6) Embed the libr0000.bin into the applet .prc file with following dos/bash command:
"par.exe a applet_name.prc libr0000.bin"



Edited by - jstadolnik on 07/27/2001 18:24:18