Seite 1 von 1

[Module] Named Pipe (Windows & MacOS)

Verfasst: 06.04.2020 20:21
von Thorsten1867
Named Pipe - Module (Windows & MacOS / 64Bit)

Austausch von Nachrichten zwischen zwei Programmen mittels "Named Pipes"

Code: Alles auswählen

; NamedPipe::GetFullName()     ; Path and name of the pipe

; ----- Server -----
; NamedPipe::EventPipe()       ; Returns the name of the pipe after #Event_Message
; NamedPipe::GetEventMessage() ; Querying the message after #Event_Message
; NamedPipe::Create()          ; Creates a pipe with the name and starts a thread to read the pipe
; NamedPipe::Use()             ; Use an existing pipe and starts a thread to read the pipe
; NamedPipe::Pause()           ; Pause the thread to read the pipe
; NamedPipe::Resume()          ; Resume the thread to read the pipe
; NamedPipe::Close()           ; Close the pipe and exit the thread
; NamedPipe::SetMessageReply() ; Set a reply to the receipt of a message.
	
; ----- Client -----
; NamedPipe::SendMessage()     ; Send a message (Return: Reply)
Download: NamedPipeModule.pbi

Re: [Module] Named Pipe (Windows)

Verfasst: 07.04.2020 09:08
von Derren
Is this an inter-process Messaging System?
Can you provide an example? This sounds really interesting :allright:

Re: [Module] Named Pipe (Windows)

Verfasst: 07.04.2020 16:18
von tft
Hallo,

auch ich bin sehr interessiert. Da ich gerade nach einer InterProzess Kommunikation suche. Kannst du näher darauf eingehen.

Gruss TFT

Re: [Module] Named Pipe (Windows)

Verfasst: 07.04.2020 16:23
von Kiffi
@Derren & @tft: im pbi ist ein Beispiel vorhanden.

Grüße ... Peter

Re: [Module] Named Pipe (Windows)

Verfasst: 07.04.2020 17:58
von mk-soft
Gibt gerade im englischen Forum eine Diskussion wegen KillThread...

Muss mal schauen wie ich das Früher umgangen bin :wink:

Re: [Module] Named Pipe (Windows)

Verfasst: 07.04.2020 20:40
von Thorsten1867
Update: Unterstützung mehrerer Pipes

Re: [Module] Named Pipe (Windows & MacOS)

Verfasst: 08.04.2020 11:44
von Thorsten1867
Update: Unterstützung für MacOS