using runtime with BuildPRC

Discuss PocketC for Palm OS (including Desktop Edition)

Postby hibbardt_iis on Wed Dec 13, 2000 2:30 pm

How do I get the programs that I have build with the BuildPRC to run on the runtime. I have found that the only way to run programs that I have built on the BuildPRC is to have the standerd PocketC compilier and have the source code compilied before I launch the program. If I don't have it compilied I get an error message saying "Error loading 'Program name' applet".
What am I doing wrong
Posts: 1
Joined: Wed Dec 13, 2000 2:26 pm
Location: USA

Postby SyPDA on Wed Dec 13, 2000 3:45 pm

The .PRC you build with BuildPRC is only a start-routine!
This is NOT a complete program. You still need your compiled program (*.pdb) on your palm!

BuildPRC only gives you the possibility to start your program directly by tapping the icon in your launcher. It does not give you ONE COMPLETE program.

So if you want to distribute your program, you have to give your users three things:

1. Your_Program.PDB (your compiled program)
2. Your_Program.PRC (the icon and start-routine)
3. Either PocketC or the PocketC runtime

Be careful while testing this: If you install the PocketC runtime you will overwrite your PocketC compiler!
I have a very handy tool on my palm called pz. It's an archiver for Palm OS. I have two archives on my Palm. One with the complete compiler and the other with the runtime module. If I want to test a program with the runtime I overwrite the compiler with the runtime archive and do my tests. When I'm done I overwrite the runtime with the compiler archive and can compile again. I don't have to hotsync the packages everytime I want to use them. You can get pz at

Hope I could help you... :)
Posts: 94
Joined: Tue Dec 05, 2000 8:08 am
Location: Germany

Postby mbaker on Thu Dec 14, 2000 4:32 am

If you use the desktop verion of Pocket C, you can create .prc files that don't require the additional .pdb file. (ie install PROGRAM.prc and PocketC.prc)
Posts: 8
Joined: Tue Dec 05, 2000 12:00 pm

Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 2 guests