Forum > Options

installing indy4lazarus components

<< < (2/2)

JopieK:
of course, indy is crap, well, it worked fine in Delphi with a lot of additional tools...

ARE there actually ppl that got INDY working? I'm also interested in Jedi VCL stuff, I'm preparing for my master thesis project. At our university everyone is using Java and since I hate Java and before Delphi 2004 used to love Delphi (and still love pascal) I'm considering Lazarus very much for my Agent based learning community (with probably IRC as a communication base).

Marc:
MarcovV Has indy9 working on win32. I don't know when or where the sources were committed, but I guess somewhere in the fpc tree

JopieK:
well, that's at least a bit, it seems to be that the idwinsock2 file is not interpreted right on windows... first I removed the { accolades and places // instead since the compiler complained about level x comments... that solved part of the problem but now I get:

3967: procedure WS2Stub_WSACleanup;                       asm  mov eax,  0; call WS2Call; jmp eax; end;
C:\Lazarus\indy4lazarus\source\IdWinsock2.pas(3967,53) Fatal: Syntax error, "BEGIN" expected but "ASM" found

Someone is trying to comment on this in rather vague english:
http://sourceforge.net/tracker/index.php?func=detail&aid=1027091&group_id=98813&atid=622329

Marc:
in short:
FPC does not support the following:
--- Code: ---procedure bla;
asm
  // some asm here
end;
--- End code ---


use this instead:
--- Code: ---procedure bla;
begin
  asm
    // some asm here
  end;
end;
--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version