DelphiFAQ Home Search:
General :: Programming :: Delphi :: Network
Network (local network and Internet) programming under Windows with Delphi.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

API call to make a dialup network connection

Question:

How does the API call to make a dialup network connection look like?

Answer:

The following code creates an internet connection through dialup networking:

uses
   WinInet;
 
 procedure TForm1.Button1Click(Sender: TObject);
 begin
   if not InternetAutodial(INTERNET_AUTODIAL_FORCE_ONLINE, Application.Handle) then
     MessageDlg('No internet connection', mtError, [mbOk], 0);
 end;
 
You don't like the formatting? Check out SourceCoder then!
Generated 0:01:38 on Jan 18, 2018