CodeGear Developer Network

CodeGear Delphi Partner DVD

Delphi

Exclusive

Magenta Systems TMagRas RAS Component

Not personal

Magenta Systems TMagRas RAS Component (Snippet ID 24429)


Magenta Systems Ltd

TMagRas is a set of installable Delphi non-visual components, supplied with several demo and example programs and a help file, for accessing Dial Up Networking or Remote Access Services functions. It allows Delphi developers to add full RAS functionality to their applications, including dialling and monitoring multiple connections, creating and editing phonebooks (without using Windows dialogs), and getting performance information for connections. TMagRas supports Windows 95, 98, ME, NT4, 2000, XP and 2003, allowing an application to support all the various RAS extensions in NT, W2K and XP, including sub entries for multi-channel ISDN connections. Performance statistics are returned separately for each connection in NT4 and each channel in W2K and later. Incoming calls to NT4 RAS Server may be monitored.

TMagRas is supplied as five separate installable Delphi components: TMagRasCon includes dialling and monitoring and limited connection editing, TMagRasPer has performance statistics, TMagRasEdt to create and edit connections/phonebooks, TMagTapi lists TAPI devices and monitors them (but does not make calls), and TMagRasAdm which supports the admin interface to RAS Server for incoming connections.

These are supported by MagRasApi that includes the prototypes for all RAS functions and loads them dynamically (in case RAS is not installed), TMagTapiApi that includes prototypes for TAPI functions and loads them dynamically, WinPerf has NT performance data structures, MagRasPdhApi NT performance data helper, MagRasEnt to support phonebook entry lists, MagRasStr with RAS string literals, MagTapiStr with TAPI string literals, MagSubs1 with common non-RAS functions, and MagSubs2 has functions to add shortcuts to the windows desktop, including non-file objects such as DUN connections and printers.

A demo program illustrates use of the components, including monitoring multiple connections, creating a simple new connection with minimal properties, and editing detailed connection properties (seven tabs of settings) including Windows 2000 and XP extensions. Seven example programs illustrate various aspects of the components and may be copied to quickly add specific RAS functionality to applications.

Install Magenta Systems TMagRas RAS Component

Magenta Systems TMagRas RAS Component home page