DDLConnect PDF Print E-mail
DDLConnect - allows the DotNet (.net) or AppForge programmer to control dial-up (RAS) connections and other hidden functions.

The DDLConnect component can be called from DotNet (.net) Compact Framework applications or AppForge MobileVB/Crossfire (using Fuser technology).

Demo source code projects are included for vanilla Visual Studio 2005, AppForge Crossfire 6.0.1 and AppForge MobileVB 6.0.1 environments.

The component is compatible with all ARM based PocketPC platforms, PPC2002+ and Windows Mobile.

The latest version is 3.0.0.

A commercial licence at £50 allows you to distribute the component with your all your applications. But please don't distribute elsewhere.

RAS Functions:
EnumDevs Gets a list of RAS capable devices
EnumEntries
Gets a list of RAS phonebook entries
EnumConnections Gets any currently connected RAS connection
HangUp
Hangs up a specified RAS connection
GetStatus Gets the status code of a specified RAS connection
StatusMessage
Gets the status message for a status code
DialUpASync Dials a specified RAS connection and returns immediately
DialUp Dials a specified RAS connection and waits for connection
ErrorMessage Get the error message for an error code
DeleteRasEntry
Deletes a specified RAS phonebook entry
CreateRasEntry
Creates a RAS phonebook entry
Connection Manager:
EnumConnMgrDests Gets a list of connection manager destinations (My Work Network etc.)
ConnMgrConnect
Connects to a specified connection manager destination
ConnMgrRelease Disconnects a specified connection manager connection (some are cached)
Misc Functions:
IsActiveSyncConnected Tests for any valid ActiveSync supplied connection. Now Windows Mobile 5 compatible.
SetDateTime
Sets the device date and time
Wait
Waits for a specified time in milliseconds
GetWifiSignalStrength Gets the name, signal strength and quality from the first wireless network adapter found
Notifications:
AddNotif Creates a system notification bubble with the text and title specified
UpdateNotif
Updates a specified notification
RemoteNotif
Removes a specified notification
Registry (AppForge only):
RegQuery Query a specified registry entry
RegUpdate
Updates a specified registry entry
RegDelete
Deletes a specified registry entry
Phone - Only tested on HTC Himalya (COM2) and Mio A701 (COM7):
GetCSQ Gets the signal strength from the built in phone.
GetCREG
Gets the cell id from the built in phone.
Information for users of previous versions of DDLConnect

This version is an amalgamation of DDLConnect and DDLConnect-AF. The AppForge fuser DLL functions are all now prefixed with AF. Other than that they are virtually the same. Examine the demo program for more details. The IsActiveSyncConnected function now works on PPC and WM5 use this instead of EnumConnections looking for `USB as this doesn't work on WM5.