* Mantis ipcserver problem solved caused by the adding of locking in the rtl

(mantis 15219)

git-svn-id: trunk@14415 -
This commit is contained in:
marco 2009-12-11 22:33:10 +00:00
parent 94689e0be7
commit ac1ea04d60

View File

@ -59,10 +59,11 @@ procedure TPipeClientComm.Connect;
begin begin
If Not ServerRunning then If Not ServerRunning then
Owner.DoError(SErrServerNotActive,[Owner.ServerID]); Owner.DoError(SErrServerNotActive,[Owner.ServerID]);
// Use this line to allow more then one client communicating with one server // Use the sharedenynone line to allow more then one client
// at the same time // communicating with one server at the same time
// FStream:=TFileStream.Create(FFileName,fmOpenWrite+fmShareDenyNone); // see also mantis 15219
FStream:=TFileStream.Create(FFileName,fmOpenWrite); FStream:=TFileStream.Create(FFileName,fmOpenWrite+fmShareDenyNone);
// FStream:=TFileStream.Create(FFileName,fmOpenWrite);
end; end;
procedure TPipeClientComm.Disconnect; procedure TPipeClientComm.Disconnect;