Thank you for your reply, but I still have the same problem. Can you help me 
again? Do you have any sample code?

Thanks!


>From: Jim Schram <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>CC: "Marcio Pacheco" <[EMAIL PROTECTED]>
>Subject: Re: Accessing Modem
>Date: Fri, 23 Nov 2001 10:34:08 -0800
>
>At 5:57 PM -0800 2001/11/23, Marcio Pacheco wrote:
> >I can't dial using modem. Always I try to dial, the palmtop reset. The 
>palm model is Palm IIIc with OS 3.5. What's wrong with this code below? 
>Please, help me!
> >
> >MdmInfoPtr ModemInfo=(MdmInfoPtr)MemPtrNew(sizeof(MdmInfoPtr));
>
>You're only allocating 4 bytes for ModemInfo (the size of a pointer to a 
>ModemInfo structure). You need to allocate enough memory for the entire 
>structure, like this:
>
>   MdmInfoPtr ModemInfo=(MdmInfoPtr)MemPtrNew(sizeof(MdmInfoType));
>
>Regards,
>
>Jim Schram
>Palm Incorporated
>Partner Engineering
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, 
>please see http://www.palmos.com/dev/tech/support/forums/


_________________________________________________________________
Chegou o novo MSN Explorer. Instale j�. � gratuito! 
http://explorer.msn.com.br


-- 
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