> From: Johl J Kennedy
>
> frm = FrmGetActiveForm();
> fldIndex = FrmGetObjectIndex(frm, Form1Field);
> SaveData(FrmGetObjectPtr(frm, fldIndex));
>
> I get a (void *) and not a (FieldType *) ?????
>
FrmGetObjectPtr returns a void *, which is compatible with every pointer
type. If it didn't, how could it work with different object types?
If you want to pass a FieldType * to SaveData, use
SaveData((FieldType *)FrmGetObjectPtr(frm, fldIndex));
> So am I getting a void * because the db is not
> being created correctly?
No.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/