[Lazarus] CustomDrawn, Android: Crash on Device

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Dec 2 21:38:18 CET 2011


On Fri, Dec 2, 2011 at 9:21 PM, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
> With the important difference, that the iconv lib is only opened
> if it is installed, using dlopen.

That is also dangerous for Android, it might exist in a device because
a manufacturer put it there, but it should still not be used.

> And btw, lconvencoding always defines DisableIconv, so it never uses
> iconv.
>
> I simplified the lconvencoding directives with a simple IFDEF
> EnableIconvEnc.

The problem is not lconvencoding, since lconvencoding isn't even added
to the executable. The problem is that lclproc and translations use
cwstring.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list