Page 1 of 1

Use of Pipes

Posted: Sun Feb 10, 2008 5:21 pm
by localmotion34
How about native Pipe functions in PB?

Ive been trying forever to get Pipes to work, and i havent had much success.

How about something like:

PipeID=CreatePipe(#pipe, pipename$,Flags)

PipeID=IsPipe(pipename$)

Basically, native pipe functions could allow for communication between threads, apps, DLLs ect. If i had a pipe named "datatransfer", i could use the IsPipe()function to return the ID of the pipe, and then manupilate that pipe in another thread.

Posted: Sun Feb 10, 2008 5:39 pm
by Inf0Byt3
+1

This would be a great addition to PB :).

In the meantime, you can try and use the code in this thread:
http://www.purebasic.fr/english/viewtopic.php?t=11491

(scroll down for dmoc's code)

Posted: Tue Feb 12, 2008 12:50 pm
by NicTheQuick
+1

Yes, it's a good idea! It should work on all platforms, then I can often use it.

Posted: Tue Feb 12, 2008 9:49 pm
by Psychophanta
I second that too :idea:

Posted: Wed Feb 13, 2008 2:30 pm
by #NULL
i never used pipes to now, but looks like a good idea :)

Re: Use of Pipes

Posted: Sun May 18, 2014 4:14 pm
by Tenaja
+1

Re: Use of Pipes

Posted: Sun May 18, 2014 5:17 pm
by davido
+1