RE: illegal implicit conversion from 'void *' to 'MailAddRecordParamsType *"

From: Eric Cloninger (view other messages by this author) 
Date: Wed, 9 Feb 2005 08:27:15 

--------------------------------------------------------------------------------

Nigel,
You need to explicitly cast the result of MemPtrNew into your new type;
 
         theMailInfoPtr = (MailAddRecordParamsPtr)
MemPtrNew(sizeof(MailAddRecordParamsType));


Hi Eric 

Thnaks for that mate.

That is so obvious I'm almost embarassed I post this.

This is really starting to get me down, I'm almost certain I tried
casting in the first attempt to fix the problem, but I think I used
type not prt :(

The code compiles now.

It works on the emulator
It works on the a V
It works on the a Vx
It works on the a M505 machine

BBBBBBBUUUUUUUUTTTTTTTT
not the Treo, not a thing in the Outbox.

I have tried all kinds of things.

An Ideas ?

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

Reply via email to