Asmitagoyal
asked on
Dialing gprs modem programatically
hi ,
I have a modem equipped with gprs enabled sim.I am working in windows2000.I connected to gprs network using my dial-up connection.After some time,it gets disconnected. I need some way to dial the gprs modem(using number *99***1#) programatically in Delphi programming language.
Thanks.
I have a modem equipped with gprs enabled sim.I am working in windows2000.I connected to gprs network using my dial-up connection.After some time,it gets disconnected. I need some way to dial the gprs modem(using number *99***1#) programatically in Delphi programming language.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Public Declare Function InternetDial Lib "wininet.dll" Alias "InternetDialA" (ByVal hwndParent As Long, ByVal strEntryName As String, ByVal dwFlags As Long, lpdwConnection As Long, ByVal dwReserved As Long) As Long
Call InternetDial(Me.hWnd, "GPRS-DialUP", 2&, HandleConnection, 0&)
Imran