You are using SDK 3.5. These types were used in earlier SDKs. #include
"PalmCompatibility.h" to make SDK3.5 understand them, or change them to the
new types. eg: Word -> UInt16 (just look in PalmCompatibility.h to see what
changes).
Regards,
Alan Ingleby
Systems Developer
ProfitLink Consulting Pty Ltd
309 Burwood Road
Hawthorn
Victoria 3122
Australia
"Randy Brown" <[EMAIL PROTECTED]> wrote in message
news:40202@palm-dev-forum...
>
> Paul -
>
> Thanks for the rapid reply. Unfortunately, I have one more problem.
(Only
> one, yeah... sure.... ;-)
>
> The compiler (GCC) doesn't like "Word", "VoidHand", or "VoidPtr." I
> currently have <PalmOS.h> and <SysEveMgr.h> in my #include(s). I've
> searched the FAQ and KnowledgeBase (yes, I'm researching before posting -
> trying to be a good citizen). But haven't been able to find (yet) what
> else needs to be in the #include. <MemoryMgr.h> doesn't have these guys
in it.
>
> Again, asking for assistance.
>
> TIA.
>
>
> At 07:41 AM 02/19/2001 -0800, Paul wrote:
> >Use LstGetSelectionText to the text of a list item.
> >
> > pObj1 = GetObjectPtr(pForm, iListID)
> > LstGetSelectionText(pObj1, iSelection) // Returns a pointer to the
list
> >text
> >
> >
> >Then use a function like the following to place the text into your field
> >
> >static void SetFieldText(Word FieldId, char *Str) {
> >
> > VoidHand hTextNew;
> > VoidHand hTextOld;
> > VoidPtr pField;
> > FormPtr pForm;
> > FieldPtr fpField;
>
> [rb}
>
> http://www.randybrown.net
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/