How does the API call to make a dialup network connection look like? (Views: 40)
How does the API call to make a dialup network connection look like?
The following code creates an internet connection through dialup networking:
procedure TForm1.Button1Click(Sender: TObject);
if not InternetAutodial(INTERNET_AUTODIAL_FORCE_ONLINE, Application.Handle) then
MessageDlg('No internet connection', mtError, [mbOk], 0);
<< Back to main page