Mike Gresens | 23 Apr 2012 09:05
Picon
Favicon

[ft] Getting error text

Hallo,

in the include file "fterrdef.h" you have associations between error 
code and error text, e.g.:

   FT_ERRORDEF_( Cannot_Open_Resource,                        0x01, \
                 "cannot open resource" )

How can i get the error text from the error code?!

Best regards

--

-- 
Mit freundlichen Grüßen

Mike Gresens
Communication&  Information Systems
Werum Software&  Systems AG
Wulf-Werum-Straße 3 | 21337 Lüneburg | Germany
Tel. +49 4131 8900-958 | Fax +49 4131 8900-20
mailto:mike.gresens <at> werum.de | http://www.werum.de

USt-ID-Nr. DE 116 083 850 | RG Lüneburg HRB 2262
Vorsitzender des Aufsichtsrats: Johannes Zimmermann
Vorstand: Hartmut Krome, Rüdiger Schlierenkämper, Hans-Peter Subel
Werner LEMBERG | 24 Apr 2012 11:06
Picon

Re: [ft] Getting error text


> in the include file "fterrdef.h" you have associations between error
> code and error text, e.g.:
> 
>   FT_ERRORDEF_( Cannot_Open_Resource,                        0x01, \
>                 "cannot open resource" )
> 
> How can i get the error text from the error code?!

See documentation in `fterrors.h'.

    Werner

Gmane