En/na Dmitry Konnov ha escrit: > Dear Luca, > > since i add "cthreads" to the "uses" clause of my project (.lpr). > i get: > > Project raised exception class 'RunError(211)' > > I also have made sure > Project->>Compiler options->Other to put a "-dUseCThreads" in "Custom > options")
No such error here and the echo works as it should. Did you use the option "convert delphi project to lazarus project" ? If so, it's probably missing the "Interface" clause (but then, AFAIK, it shouldn't even compile). Also, if you're using an old version of lazarus, that option isn't probably working really well. I'm using this version from svn: Lazarus 0.9.27 r21135M FPC 2.2.4 i386-linux-gtk 2 (beta) Here's my EchoSrv.lpr (where I manually added cthreads an interfaces). program EchoSrv; {$MODE Delphi} uses cthreads, interfaces, Forms, synapse, main in 'main.pas' {Form1}, echo in 'echo.pas'; begin Application.Initialize; Application.CreateForm(TForm1, Form1); Application.Run; end. I made a synapse package with all of synapse units and added it to the project requirements. You can also put the synapse directory in the "Other unit files" (first option under "Compiler options->Paths"). Note also that if you use the default echo port (7) you need to be root (any port below 1024 needs root or a posix privilege granted to the binary), so to test it as non-root I just used port 7070 (in echo.pas changed 'echo' in the bind call to '7070'). 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