help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

SetWideStringManager

Set the widestring manager

Declaration

Source position: line 0

procedure SetWideStringManager(

  const New: TWideStringManager

);

procedure SetWideStringManager(

  const New: TWideStringManager;

  var Old: TWideStringManager

);

Description

SetWideStringManager sets the current widestring manager to New. Optionally, it returns the currently active widestring manager in Old.

WideStrings are implemented in different ways on different platforms. Therefore, the Free Pascal Runtime library has no fixed implementation of widestring routines. Instead, it defines a WideString manager record, with callbacks that can be set to an implementation which is most efficient on the current platform. On windows, standard Windows routines will be used. On Unix and Linux, an implementation based on the C library is available (in unit cwstrings).

It is possible to implement a custom widestring manager, optimized for the current application, without having to recompile the complete Run-Time Library.

See also

TWideStringManager

  

Record containing the various callbacks of the widestring manager.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505