Indy and Lazarus lazarus / 1-Linux ---------------------------------------------------------------------- mrdebug · 2007-11-19 21:13 I am trying to install Indy 10.2.0.3 in Lazarus 0.9.24 but I get the following error: Code: [Select]   RSProtam = RSProt+' (am)';   RSProtnz = RSProt+' (nz)'; /home/denis/indy-10.2.0.3/lazarus/IdDsnResourceStrings.pas(59,28) Error: Illegal expression /home/denis/indy-10.2.0.3/lazarus/IdDsnResourceStrings.pas(60,28) Error: Illegal expression /home/denis/indy-10.2.0.3/lazarus/IdDsnResourceStrings.pas(66,1) Fatal: There were 2 errors compiling module, stopping What should I do? ---------------------------------------------------------------------- Marius · 2007-11-20 00:20 I had the same today, just replace them with he right text (the RSProt const is just in top) RSProtam = ' forgot the text (am)' Then its works perfect, but i'm curious about the cause because there's nothing wrong with it AFAICT. ---------------------------------------------------------------------- mrdebug · 2007-11-20 10:19 Sorry but I did not understand. With what should replace those lines? ---------------------------------------------------------------------- Marius · 2007-11-20 10:26 Replace them with this and it will compile. It is a bug in lazarus or fpc since this was compiling just fine in the 2.04 (and earlier releases).   RSProtam = ' Protocols (am)';   RSProtnz = ' Protocols (nz)'; ---------------------------------------------------------------------- mrdebug · 2007-11-20 12:42 It works! I had to comment on the row Code: [Select]    TIdSocksServer, /home/denis/indy-10.2.0.3/lazarus/IdRegister.pas(695,18) Error: Identifier not found "TIdSocksServer" I have done well? ---------------------------------------------------------------------- Nillak · 2007-11-29 09:04 Hello, i have the same problem. What about TidSocksServer ? ---------------------------------------------------------------------- Nillak · 2007-11-29 09:15 Ok i had the IdSocksServer in the uses of the unit IdRegister.pas, and it compiles well. Now, when i start Lazarus, i have this message : 'Component class "TidCompressionIntercept" already defined.'  (Sorry it is a translation) and i have to choose 'Ignore' or 'cancel' ---------------------------------------------------------------------- mrdebug · 2007-11-29 16:55 I am passed to Synapse. ---------------------------------------------------------------------- cx · 2008-01-02 14:31 Oh,Nillak's problem is with me. and in Lazarus, I made a test,the TIdUDPClient can send message to other PC,but run test with TIdUDPServer,if it be active,tell me "Socket already open",why?