RAS-XE2
所属分类:加密解密
开发工具:Delphi
文件大小:5616KB
下载次数:24
上传日期:2012-04-16 12:11:38
上 传 者:
blueskyabc
说明: DELPHI RAS加密组件[支持delphi7-XE2版本]
(DELPHI RAS DELPHI7-XE2)
文件列表:
delphi6\MagClasses.dcu (2087, 2008-08-12)
delphi6\MagentaSubs6.bpl (118272, 2008-08-12)
delphi6\MagentaSubs6.dcp (130231, 2008-08-12)
delphi6\MagentaSubs6.dpk (670, 2007-01-09)
delphi6\MagentaSubs6.res (876, 2007-01-08)
delphi6\magpdhapi.dcu (15220, 2008-08-12)
delphi6\magpdhapi.pas (24427, 2008-08-12)
delphi6\magras60.bpl (148992, 2008-08-12)
delphi6\magras60.dcp (237364, 2008-08-12)
delphi6\magras60.dpk (1014, 2007-08-17)
delphi6\magras60.res (1536, 2000-04-13)
delphi6\magrasadm.dcu (15732, 2007-08-17)
delphi6\magrasadm.res (476, 2001-04-30)
delphi6\magrasadm2.dcu (30020, 2008-08-12)
delphi6\MagRasApi.dcu (37393, 2008-08-12)
delphi6\magrasapi.pas (75343, 2009-08-04)
delphi6\magrascon.dcu (62077, 2008-08-12)
delphi6\magrascon.res (476, 1999-09-27)
delphi6\magrasedt.dcu (43967, 2008-08-12)
delphi6\magrasedt.res (476, 1999-09-27)
delphi6\magrasent.dcu (10607, 2008-08-12)
delphi6\magrasper.dcu (19725, 2008-08-12)
delphi6\magrasper.res (476, 1999-09-27)
delphi6\magrasstr.dcu (4844, 2008-08-12)
delphi6\magsubs1.dcu (81428, 2008-08-12)
delphi6\magsubs2.dcu (10076, 2008-08-12)
delphi6\Magsubs4.dcu (76030, 2008-08-12)
delphi6\magtapi.dcu (20089, 2008-08-12)
delphi6\magtapi.res (800, 2000-04-05)
delphi6\magtapiapi.dcu (31721, 2008-08-12)
delphi6\magtapiapi.pas (52675, 2008-08-02)
delphi6\magtapistr.dcu (3727, 2008-08-12)
delphi6\magtapistr.pas (2888, 2008-06-12)
delphi6\winperf.dcu (4114, 2007-08-17)
delphi6\winperf.pas (26944, 2002-07-26)
delphi6 (0, 2011-08-11)
delphi7\MagClasses.dcu (2126, 2009-08-05)
delphi7\MagentaSubs7.bpl (123904, 2009-08-05)
delphi7\MagentaSubs7.dcp (173886, 2009-08-05)
delphi7\MagentaSubs7.res (876, 2008-08-12)
... ...
TMAGRAS - DELPHI RAS COMPONENT - RELEASE 5.70
=============================================
Last Updated: 28th August 2011, Release 5.70
by Angus Robertson, Magenta Systems Ltd, England
Email: delphi@magsys.co.uk, http://www.magsys.co.uk/delphi/
Copyright Magenta Systems Ltd, 2011.
Compatible with Delphi 7, 2005, 2006, 2007, 2009, 2010, XE and XE2.
The last version of TMagRas compatible with Delphi 3 was 4.61. With
XE2 and later, Win*** is supported as a target, as well as Win32.
Note that release 5.70 only supports ANSI RAS APIs with Delphi 2009 and
later.
Compatible with Windows 95, ***, ME, NT4, 2000, XP, 2003 Server, Vista,
2008 Server and 7, both 32-bit and ***-bit editions, but note Win9x and
NT4 not tested for years. Windows 95 requires the DUN 1.2 or later
upgrade for some functionality, but is no long officially supported.
There is a separate TMagRas Release 6.3 which fully supports Unicode
under Delphi 2009 and later by using the RAS WideString APIs. A Unicode
demo application RASDEMO6.EXE is freely available, but otherwise
release 6.3 is only available to source code licensees, no free version
is available.
Overview
--------
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 5.50 supports
Windows 95, ***, ME, NT4, 2000, XP, 2003, Vista, 2008 and 7 allowing an
application to support all the various RAS extensions in NT and later,
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.
TMagRas is copyrighted software, but the compiled component DCUs may be
used without cost in applications for use by the developer or within
their company but which are not otherwise distributed (including
freeware and shareware). The component source code may be licensed for
a cost of 100 (UKP) (117.50 with UK tax). Developers that license the
source may distribute applications using TMagRas without further cost.
The compiled TMagRas 5.x components supporting ANSI only are available
for Delphi 6, 7, 2006, 2007, 2009, 2010, XE and XE2. The component may
be used with C++ Builder, but currently OBJ files are not available so
you will need to license the source code and recompile.
Earlier versions of the component are available for Delphi 3, 4 and 5.
TMagRas 6.3 supporting Unicode with Delphi 2009 and later and is only
available to source code licensees.
RAS and Unicode
---------------
Windows NT4 and all later versions have supported Unicode internally,
effectively two byte wide characters with the potential ability to display
many thousands of symbols, including Greek, Russian and Far Eastern
languages at the same time, provided the Windows OpenType font contains
all the symbols. Unicode characters may be used in many places, file
content, file names and paths, RAS entry names and logons, etc.
Although Windows itself supports Unicode, many applications are restricted
to working in ANSI, which is one byte wide characters, so interaction
with the Windows causes a translation to and from ANSI using the current
code page. During conversion to ANSI, non-compatible Unicode characters
may be substituted by a failed character which is usually ? and illegal in
file names and paths. So ANSI only applications are unable to open files
with non-compatible Unicode characters, and RAS entries will similarly
fail.
Delphi 2007 and earlier primarily supported ANSI strings and Windows APIs.
Although the widestring type was available, there was no wide TStrings for
lists and sorting and the VCL was ANSI, so it was really only possible to
support Unicode using third party component libraries.
Delphi 2009 and later fully support Unicode, with types String=UnicodeString
and Char=WideChar, and the VCL handles Unicode fully. Beware updating
earlier applications from earlier Delphi releases needs careful checking
for all string and pointer usage, particularly PChar, Char, Chr, Move,
SizeOf and FillChar whose behaviour may be effected by Unicode.
TMagRas 5.70 and earlier use the ANSI versions of the RAS APIs, which
means entries can not be created with Unicode characters outside the
current ANSI code page. Any entries created with such Unicode characters
by other applications will be listed by TMagRas with failed characters
(?) and will be unusable for calls to other RAS APIs. TMagRas 5.40 and
later have been updated to support Delphi 2009 and later.
TMagRas 6.0 and later primarily support only Delphi 2009 and later, with
full Unicode support by using the WideString versions of the RAS APIs and
the UnicodeString type. 6.0 will work with earlier versions of Delphi,
but only with ANSI strings. All the 6.0 widestring RAS units have W
suffixes to keep them separate from the old units, but the component names
are the same so only one version can be installed on toolbar at the time.
To simplify the source code, support has been removed from 6.0 for Windows
9.x and NT4, which are now 10 years old and rarely used, so TMagRas 5.50
should be retained if support for these is still needed. The main demo
application is now RASDEMO6. TMagRas 6.0 and later are only available to
source code licensees, no free compiled objects version is available.
Existing licensees of the source code will need to pay a 50 upgrade fee
for access to TMagRas 6.0 and later, the first time an upgrade has not
been free for nine years.
Changes in TMagRas Release 5.70
-------------------------------
1 - Fixes for ***-bit compiler, mainly in magrasapi where DWORD was often
used instead of pointers (which are ***-bits in Win***). Note the various
RAS dialogs do not seem to display in Win*** applications, still under
investigation.
2 - CallbackId no longer published since it's a pointer, but a dummy
remains for backward compatibility. This was really for internal use.
3 - RegisterComponent is now in magrasreg.pas instead of each of the
units, to allow separate design and runtime packages to be built.
This means there are now separate MagRasx0r.dpr and MagRasx0d.dpr
projects for runtime and design packages, that both need to be built.
4 - Added SetDefDialLocation to avoid calling GetTransCaps to do the
same thing. Calling either before accessing dialling properties or
dialling a call stops Windows popping up a 'dial location' dialog.
5 - Updated GetOSVersion (magsubs1) to recognise Windows 8, although the
server version name is still uncertain.
6 - Added packages for Delphi XE2, which is version 16, there are
separate design and runtime packages since the Delphi IDE only supports
32-bit design packages, but needs ***-bit runtimes for Win***.
7 - Currently, only the Delphi 2007, 2010, XE and XE2 compiled objects
have been similarly updated for 5.70, other Delphi versions are still
5.60 or older objects.
Changes in TMagRas Release 5.60
-------------------------------
1 - Fixed cast warnings for Delphi 2009 and later
2 - Updated GetOSVersion (magsubs1) to use GetProductInfo for edition with
Vista and later so the correct edition names are always displayed.
3 - Added packages for Delphi XE, which is version 15.
Changes in TMagRas Release 5.50
-------------------------------
1 - GetTransCaps now creates a blank 'My Location' if missing to avoid
the Windows 'Location Information' dialog appearing the first time RAS is
accessed on a newly installed OS. Note this feature needs administrator
rights to write to HLM registry keys and will silently fail otherwise
2 - DefCountryId is now set from LOCALE_ICOUNTRY using GetLcTypeInfo
instead of LOCALE_IDEFAULTCOUNTRY which is obsolete.
3 - Recognise Windows 7 and 2008 R2, but note that no Windows 7 RAS
extensions are currently supported in TMagRas, they mostly relate to
IP6 and VPNs, rather than dial-up. Internally, Windows 7 is handled as
Vista.
4 - Added packages for Delphi 2010, which is version 14.
Changes in TMagRas Release 5.40
-------------------------------
1 - Updated all the components and demos to support Delphi 2009. TMagRas
has only ever supported the ANSI RAS APIs to support western languages,
and not the Widestring/Unicode APIs needed for Asian countries. This
version has changed most String data types to AnsiString and Char to
AnsiChar, to be compatible with Delphi 2009 while remaining fully
compatible with Delphi 6 and later. Beware this means Delphi 2009 will
generate lots of string cast warnings during compilation as Unicode and
ANSI strings are converted between each other. A number of ANSI only
string functions have been added (TrimAnsi, UpperCaseAnsi, AscToIntAnsi,
etc) to avoid some of these conversions.
2 - Fixed a bug that meant MagRasGetEntryRecs did not read all the entry
properties for entries with non-ASCII characters, due the phonebook files
being saved in UTF-8 and not ANSI format.
Changes in TMagRas Release 5.30
-------------------------------
1 - Added bDefaultCreds property for TMagRasCon and TMagRasEdt, which
should be set true before calling PutDialProps, GetDialProps, PutDialParams
or GetDialParams functions to set user name and password for 'anyone who
uses this computer', which may be needed as well as setting Phonebook
Location to all users on Vista.
Changes in TMagRas Release 5.21
-------------------------------
1 - Ensure that the MagRasPhoneFiles array is completed with default
phonebook names when the TMagCon and TMagEdt components are created,
rather than when RAS is initialised, so setting PBLocation always sets
the PhonebookPath file correctly.
2 - It's no longer possible to set the PhonebookPath property except on
NT4, to avoid conflicts with PBLocation.
3 - Updated all the example applications with PBLocation so they all work
on Vista.
4 - Updated MSIEDefConn for Vista.
Changes in TMagRas Release 5.2
------------------------------
1 - Finally tested on Windows Vista RTM and Longhorn (Windows Server 2008)
beta 3. Unfortunately Microsoft no longer supports several RAs APIs in
Vista, but has not documented this in MSDN. Also, most application now run
without administrator rights which means connection entries in the 'All Users'
phonebook can not be edited. So this release changes the default for new
entries to the 'Current User' phonebook for Vista and later. Note that
Longhorn programs have administrator rights as standard.
2 - In the Demo4 program, moved Windows version information to the Network
tab and show Windows version information as well, also use IsProgAdmin (in
magsubs1) to show whether the application has admin rights and can
therefore edit 'All User' phonebook entries. If a non-admin user attempts
to save a 'All User' entry, the RAS APIs should fail with 'access denied',
but this is not reliable and sometimes the API seem to work. Note that
both Vista and Windows Server 2008 are Windows version 6.0 with the
ProductType differentiating them (similarly to NT4 Workstation and Server).
3 - TMagRasCon and TMagRasEdt each have a new PBLocation property which
should be set to REN_AllUsers or REN_User before calling most methods,
Win2K/XP default to REN_AllUsers, Vista/2008 to REN_User. Generally, this
property is copied from the PBLocation in TEntryRec which is returned when
enumerating the connection entry list (MagRasGetEntryList). Setting the
PBLocation property automatically sets the correct phonebook file name.
If your application specifically set the phonebook file path, this code
should be skipped and replaced by setting PBLocation.
4 - In the Demo4 program, Quick New now allows the phonebook location to be
set. Note the example programs have not yet been updated with PBLocation.
5 - The CreatePhonebook and EditPhonebook methods that bring up Microsoft
dialogs now call RasEntryDlg since the original RAS functions no longer
work in Vista. The Demo4 program also has new buttons to bring up the
Microsoft DUN and Dialling dialogs.
6 - PutDialProps and GetDialProps in MagRasEdt now use RasPutCredentials
and RasGetCredentials similarly to PutDialParams and GetDialParams in
MagRasCon, so work correctly with Vista.
7 - The IP Helper units have been removed, they now have their own
package distributed separately. There is a new package MagentaSubs that
contains magsubs1, magsubs4 and magclasses, which is common to other
Magenta components. Packages for Delphi 4, 5 and 2005 are no longer
supplied since these compilers are rarely used. Delphi 2006 and 2007
both use the magras100.dpk.
Pending - allow for wrapping performance counters over 4 gigs.
Pending - update example projects and help
Changes in TMagRas Release 5.1
------------------------------
1 - Added initial support for Windows Vista (and maybe Longhorn), by
updating changed APIs. Vista supports IPv6, but TMagRas does not yet, due
to lack of any way to test it.
2 - PutDialParams and GetDialParams withe NT4 and later now use the
RasPutCredentials and RasGetCredentials APIs instead of RasSetEntryDialProps
and RasGetEntryDialProps. This change seems to allow passwords to be
sometimes saved in Vista Beta 2, but currently only for connections created
by some Vista dialogs. Hopefully Microsoft will fix these issues for the
Vista release candidate due in September.
3 - Made some literals in magsubs1 conditional, which should allow TMagRas
to be used with C++ Builder.
Changes in TMagRas Release 5.0
------------------------------
1 - Validate the SubEntry before dialling.
2 - To simplify distribution, the IP Helper components are now
distributed separately, ditto the WMI and SMART components.
Changes in TMagRas Release 4.94
-------------------------------
1 - Fixed a problem on Windows XP and later that meant details of only
the first connection returned by GetConnections was accessible, this
only effected multi-link and VPN over dial-up.
2 - Added MSIEAutoDialOpt to set all three MSIE auto dial options, and
fixed MSIEDefConn to work properly on XP. The Network tab of the RAS
Demo program reflects the new auto dial options.
3 - Added SCutSpecLinkEx and SCutAddLinkEx to create improved DUN short
cuts, with configurable icons and description, and to make the short
cut available to all logons.
4 - TMagRas has been thoroughly tested on Windows 2003, but there are no
new RAS features and no changes have been made.
Changes in TMagRas Release 4.91
-------------------------------
1 - TMagRas now supports an unlimited number of RAS devices, previously
there was a limit of 30 devices. This change was primarily needed to
allow TMagRas to be supported on Windows 2003 beta (effectively
the server version of Windows XP), since about 260 devices are returned,
mostly identical VPN devices. Something similar happened with W2K beta,
so these extra VPN devices may disappear before the final release.
Quick testing on Windows 2003 beta did not show any other problems.
Changes in TMagRas Release 4.90
-------------------------------
1 - TMagRas now supports an unlimited number of connection entries,
previously there was a maximum limit of 100, after which none were
displayed atall. This was done by making MagRasEntryRecs a dynamic
array (Delphi 4 and later). There is a new test program to create
and delete multiple DUN connection entries, up to 999 at a time
(but don't try that many). This is primarily to allow RAS applications
to be tested with hundreds of test entries.
2 - Added typeBroadband to TPType for Windows XP.
3 - Updated the main demo application to allow multi-link ISDN to be
tested. A new 'ISDN link' drop down list allows all links to be dialled,
or a single link only. The second link can then be dialled later, to
provide bandwidth on demand. Note that not all ISPs will allow a second
link to be added later, it is usually a problem where the two calls get
answered by different access servers which can not multilink them. There
are currently cosmetic problems in the demo monitoring the second link
because the connection handle changes during dialling, which seems very
bizarre. More testing is being done.
4 - IPHelper and it's demo application have been improved to show DNS
server allocated to specific adaptors.
Changes in TMagRas Release 4.80
-------------------------------
1 - Added the ability to add shortcuts (or links) to the windows desktop
for both programs and non-file object such as DUN connections or
printers. These functions are in magsubs2. Special directories, such
as Printers, can also be indexed. There's a new demo/test program for
these functions called scuttest.
2 - Added TConnectionList.CheckIndex which is used to validate the
argument to all Connections properties, to avoid possible 'listindex out
range' errors accessing connections that have already dropped.
3 - Moved MagRasOSVersion to magsubs1 so it's available without
initialising RAS APIs. This may need changes to applications that check
MagRasOSVersion to import the magsubs1 instead of magrasapi.
4 - Corrected MSIEDefConn to set the correct registry key for a default
connection in Windows XP.
5 - Fixed major memory leaks in the IP Helper IpHlpIfTable and
Get_AdaptersInfo functions, created IpHlpAdaptersInfo which returns
TAdaptorRows.
6 - Currently MagRasAdm may only be used to monitor incoming calls to
Windows NT4 RAS Server. With Windows 2000 (and .Net Server), RRAS
(Routing and ... ...
近期下载者:
相关文件:
收藏者: