Environment Variables Unit

   
Release: 2.0
Date: 23 October 2010
Delphi Compatibility:
 D1   D2   D3   D4   D5   D6   D7  D2005 D2006 D2007 D2009 D2010  DXE  DXE2
Red LED Red LED Red LED Green LED Green LED Green LED Green LED Green LED Green LED Green LED Green LED Green LED Grey LED Grey LED

Change Log

Release v2.0 of 23 October 2010
  • Added an enumerator for the environment variables component that supports the Delphi for..in construct (issue #10: http://code.google.com/p/ddab-lib/issues/detail?id=10).
  • Added new EnvBlockSize and two overloaded GetAllEnvVarNames routines.
  • Renamed some conditional compilation symbols.
  • Abandoned Delphi 3 support.
  • Updated help file re changes. Added links to Wiki in place of detailed information.
  • Added demo code for new enumerator and routines to demo read-me file.
  • Updated read-me file.
Release v1.3.2 of 22 October 2010
  • Fixed bug in ExpandEnvVars routine (issue #11: http://code.google.com/p/ddab-lib/issues/detail?id=11).
  • Made minor changes to read-me file.
Release v1.3.1 of 20 February 2010
  • Fixed bug in GetAllEnvVars routine (issue #3: http://code.google.com/p/ddab-lib/issues/detail?id=3).
  • Fixed bug in ExpandEnvironmentStrings (issue #4: http://code.google.com/p/ddab-lib/issues/detail?id=4).
  • Updated help file and example code document for compatibility when unicode Delphis. Example code stripped from help file.
  • Updated documentation.
Release v1.3 of 17 August 2008
  • Fixed bugs in component:
    • Compilers later than Delphi 7 used deprecated Win32Error instead of EOSError.
    • Passing nil as owner to component's constructor caused an access violation.
  • Added assertion to enforce passing non-nil callback function to TPJEnvVars.EnumNames.
  • Switched off UNSAFE_TYPE warnings in Delphi 7 and later.
  • Expanded and corrected help file content and updated copyright date.
  • Changed to Mozilla Public License.
Release v1.2 of 10 August 2003
  • Fixed bug causing error when attempting to access an environment variable that does not exist.
Un-released v1.1 of 31 July 2003
  • Updated component palette from "PJ Stuff" to "DelphiDabbler".
  • Changed references to EWin32Error exception to EOSError in components compiled with Delphi 6 and later.
  • Updated copyright date and owner in help file.
Release v1.0 of 02 September 2001
  • Original version.