是创建连接还是创建连接项 1.创建连接用API DWORD RasDial( LPRASDIALEXTENSIONS lpRasDialExtensions, // pointer to function extensions data LPTSTR lpszPhonebook, // pointer to full path and filename of phone-book file LPRASDIALPARAMS lpRasDialParams, // pointer to calling parameters data DWORD dwNotifierType, // specifies type of RasDial event handler LPVOID lpvNotifier, // specifies a handler for RasDial events LPHRASCONN lphRasConn // pointer to variable to receive connection handle );
1.创建连接用API
DWORD RasDial( LPRASDIALEXTENSIONS lpRasDialExtensions, // pointer to function extensions data
LPTSTR lpszPhonebook, // pointer to full path and filename of phone-book file
LPRASDIALPARAMS lpRasDialParams, // pointer to calling parameters data
DWORD dwNotifierType, // specifies type of RasDial event handler
LPVOID lpvNotifier, // specifies a handler for RasDial events
LPHRASCONN lphRasConn // pointer to variable to receive connection handle
);
1.创建连接项用RasEntryDlg,参见
http://www.delphibbs.com/keylife/iblog_show.asp?xid=17042