Undeclared Identifier

A PocketC native palm library offering native forms and assorted utilities

Postby sheik on Thu Oct 23, 2003 9:07 pm


Hi everybody,
I just registered PocketC Desktop Edition.I am trying to compile the Field-Demo.c sample that accompanies the PToolbox and I am getting an "Undeclared Identifier" at lines 96 which contains:

line 98:
line 104:
case 252:fctl(PREVFIELD);break;
& line 105:
case 253:fctl(NEXTFIELD);break;

1.How to compile this sample without having"Undeclared Identifier".I installed the PToolboxLib.lib,PToolboxLib761.prc and the fctl.h in the same folder as PocketC(pde.exe).

2.After compiling the Button-Demo,I put it on the POSE together with the Button-demo.pdb.Why the App. does not save data entered and is reset to its initial position everytime I quit and re-enter.

Thanks to anyone willing to help me get started with PocketC.

Posts: 9
Joined: Fri Oct 10, 2003 9:16 pm
Location: France

Postby jstadolnik on Thu Oct 23, 2003 9:23 pm

1) Make sure that the Fctl.h file in the same directory as your source code (which is not necessarily the PDE directory).

2) The operating system does not save your application's data when you exit (just like window, linux, etc). If you want that to happen you have to save the data to database or preference when the app exits and then reload this data when the app is re-launched.


The PToolboxLib guy.
Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Return to Pocket Toolbox

Who is online

Users browsing this forum: No registered users and 3 guests