IPWorks 2020 C++ Builder Edition

Questions / Feedback?

Connect Method

Attempts to dial the PhonebookEntry from Phonebook .

Syntax

void __fastcall Connect();

Remarks

This method attempts to dial the PhonebookEntry from Phonebook. If that is empty then the PhoneNumber, CallbackNumber, and Domain (if applicable) are used to connect. The component doesn't return until the operation is completed, but during this time Status events are fired showing the ongoing progress.

Example (Dialing a Phonebook)


NetDialControl.Phonebook = "MyPhonebook"
NetDialControl.Connect()

Example (Direct Dialing a Phone Number)


NetDialControl.PhoneNumber = "MyPhonebook"
NetDialControl.User = "username"
NetDialControl.Password = "mypassword"
NetDialControl.Connect()

NOTE: Direct Dialing is not supported on Pocket PC (Windows CE).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Builder Edition - Version 20.0 [Build 8307]