[fpc-pascal] How to get the current translation of a resource string?

Luca Olivetti luca at ventoso.org
Tue Dec 1 13:59:54 CET 2020


Since I want to treat a specific exception that cannot be distinguished 
by the class alone but only by the class and message, I need to find the 
current translation of the resource string used to create the exception.

The documentation at

https://www.freepascal.org/docs-html/current/prog/progse40.html

mentions ResourceStringTableCount, ResourceStringCount, 
GetResourceStringCurrentValue but I can't find them anywhere in my copy 
of fpc 3.2.0 (they are in fpc 2.6.4 and 3.0.4).

Bye
-- 
Luca



More information about the fpc-pascal mailing list