En/na Dmitry Konnov ha escrit:
> Hello,
> 
> I have just compiled EchoServ from demo on Lazarus,Fedora.
> When TCPEchoDaemon.Create  i get
> 
> Project raised exception class 'RunError(232)'
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> and application crashes. There is no above problem on Windows
> platform.

You have to add a "cthreads" to the "uses" clause of your project (.lpr).

When lazarus creates a project, it automatically adds it like this:

{$IFDEF UNIX}{$IFDEF UseCThreads}
   cthreads,
{$ENDIF}{$ENDIF}

If you already have it, you just have to define UseCThreads (under 
Project->Compiler options->Other put a "-dUseCThreads" in "Custom options")

Bye
-- 
Luca

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to