Ready to get started with anonymous questions today? It's easy! Learn more.
Procedure TForm1.PipeServer1PipeMessage(Sender: TObject; Pipe: HPIPE; Stream: TStream); var S: AnsiString; begin SetLength(S, Stream.Size); Stream.Read(S, Length(S)); if (S = 'QUIT') then begin PipeServer1.Active := false; Close; // causes access violation in pipeserver component! end; end;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.