mh-nexus
Articles Programs Components

 

About Contact Forum

TNT Unicode Controls

Unicode Exceptions

This package is based on Troy Wolbrink's TNT Unicode Controls and adds support for Unicode exceptions.
Especially the file stream exceptions were adapted to display Unicode filenames in the error messages.

If you want your own exception classes to support Unicode, you have to descend them from WideException (TntSysUtils.pas) instead of Exception. Usage is as normal except that the exception constructors now expect WideStrings instead of AnsiStrings.

Installation

This is a full replace of the standard TNT Unicode Controls, hence the installation works exactly the same way.

Note: Make sure to call at program startup either InstallTntSystemUpdates (TntSystem.pas) or InitTntEnvironment (TntForms.pas) to enable the Unicode exception handling!

What's new

Version Changes
2.3.0 (March 16, 2007)
  • Synchronized with Troy's last version
2.2.6 (July 29, 2006)
  • Synchronized with Troy's last version
2.2.4 (May 11, 2006)
  • Synchronized with Troy's last version
2.2.3 (February 24, 2006)
  • Fixed an infinite loop that could happen on Windows 9x (due to an exception occuring while another exception was handled)
  • Fixed Delphi 2005/2006 compilation error

 

Version 2.3.0 (March 16, 2007)
Download TNTUniCtrlsWithExceptions.zip 261 KB