[fpc-pascal] Re: WSAGetLastError returns 0 when it shouldn't but I cannot see why

Lukas Gebauer gebylist at mlp.cz
Thu Mar 6 13:09:34 CET 2008


> Changing my "procedure PError(msg:string)" to "procedure PError(const
> msg:string)" in TSocketThread.Execute in project2 also fixes the
> problem. This smells like a bug somewhere in fpc/rtl, since I don't
> think it should make a difference. Anyway, this gives me no clue on
> how to "fix" synapse. Synapse does this:

It is IMHO bug in FPC, just because Synapse code working in 
Delphi/Kylix threads perfectly. It have a problem on FPC threads 
only, and as I see in this discussion, problem have other programs 
too, not just Synapse. And I am pretty sure, Synapse working fine 
with some older FPC versions.



-- 
Lukas Gebauer.

E-mail: gebauerl at mlp.cz
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.




More information about the fpc-pascal mailing list