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.
Use of Pipes
-
- Enthusiast
- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
Use of Pipes
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
+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)
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)
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
- NicTheQuick
- Addict
- Posts: 1504
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact: