Palm OS Referense says FrmGetObjectPtr returns a void pointer.  So try
declaring lst as void* instead of ListPtr.

Hope this helps.

Jacky

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nancy
Kho
Sent: Thursday, June 07, 2001 11:11 AM
To: Palm Developer Forum
Subject: I'm trying to compile in Codewarrior.


I'm trying to compile in Codewarrior.

I keep getting the following error:
illegal implicit conversion from 'void * to 'ListType *'
lst = FrmGetObjectPtr(frm, itemIndex);

with the code:

        FormPtr                 frm;
        ListPtr                 lst;
        Int                     itemIndex;

        frm = FrmGetActiveForm();
        ItemIndex = FrmGetObjectIndex(frm, MainOldEvalsList);
        lst = FrmGetObjectPtr(frm, itemIndex);

I get many similar implicit conversion errors.

seems pretty simple.. can you tell me where the error is?
thanks,

[EMAIL PROTECTED]

--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to