[Lazarus] Error 500

Lukasz Sokol el.es.cr at gmail.com
Wed Apr 6 09:50:20 CEST 2011


On 06/04/2011 01:59, silvioprog wrote:

> procedure TMainFPWebModule.indexRequest(Sender: TObject; ARequest: TRequest;
>   AResponse: TResponse; var Handled: Boolean);
> begin
>   Handled := True;
>   InitEngine; // If I comment this line, the error disappears. :o
> end;
> 

Just a thought:

On 5/04/2011 23:39, Alexander Klenin wrote:
> On Wed, Apr 6, 2011 at 09:11, Michael Van Canneyt
> <michael at freepascal.org> wrote:
> > >
> > > or on windows
> > >
> > >  FontMgr.SearchPath:='c\windows\fonts';
> On Windows this is done in the initializtion section of FTFont unit.
>
> -- Alexander S. Klenin 

Maybe the initialization is already done somewhere i.e. you don't need to 
run it twice ?

L.





More information about the Lazarus mailing list