| frank433@gmx.de 2005-05-23, 8:58 am |
| Hi,
I want to write an application that makes an gprs connection with
RasDial and check the connection state with RasGetConnectStatus. If the
connection breaks the application should reconnect. The application
runs on an Pocket PC device (MDA 2). Everything works fine, but if I
get an incomming phone call, I could not reconnect. After the caller
hangs up, the telefon application of my PocketPC device blocks for
exactly 1 minute. After this 1 minute I can close the telefon
application. But my ras-application could not reconnect. I got an
ERROR_WRONG_INFO_SPECIFIED error (604) with RasGetConnectStatus. I use
RasHangup before trying to make a new ras-connection with RasDial. Even
if I close my ras-application it is not possible to make a ras
connection with any buildin software on my device. If have to softreset
the device or to shut down the telefon. I use the async mode for
RasDial.
If I make on outgoing phone call, my ras-application has no problems to
reconnect.
Does anyone know how to handle this strange situation.
Thank you,
Frank
|