Link to home
Start Free TrialLog in
Avatar of Asmitagoyal
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.
Avatar of imarshad
imarshad
Flag of Pakistan image

Not sure about delphi but I dial out my GPRS connection named "GPRS-DialUP" using the following code in VB6.....

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
ASKER CERTIFIED SOLUTION
Avatar of imarshad
imarshad
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial