Are you allocating memory for 'modem' before populating it with the
necessary data?
Maybe try Char number[8] = "7362812";  and then pass its address to MdmDial.
Are you allocating memory to 'useInitP' before initializing it with the
necessary AT commands?

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, October 04, 2001 7:19 PM
Subject: Modem Problem!


>          Hey! I am trying to get my Palm to dial a number on my 56k palm
modem. My code compiles fine but I keep getting a fatal error on my palm.
What am I doing wrong?
>
> ModemPtr modem;
> Char *number="7362812";
>                             Char *okDialP;
>                             Char *userInitP;
>                             MdmDial (modem,okDialP,userInitP, number);
>
> Thanks!
>
> --
> 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