Page 1 of 1

PostPosted: Thu Oct 23, 2003 9:07 pm
by sheik
:evil::evil::evil:

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:

fctl(HOOKTAB,1)
line 98:
fctl(HOOKARROWS,)
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.


sheik

PostPosted: Thu Oct 23, 2003 9:23 pm
by jstadolnik
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.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm