Hi All,
Is there any way you can capture the output of a command line program and use it in PB?
I.e. I have a command line program that prints a list of data - If I shell that program from PB, I want to capture it's output whilst the program is still running, and display it in a pb gadget. I know you can do it in other languages - is there some sort of windows API call that can create a callback function that PB can process?
Rgrds
Hypervox
Shell / Command line redirection
Shell / Command line redirection
PC 1:AMD Athlon XP 2000,Geforce 2 MX400 64Mb, Windows 2000 
PC 2:Intel P3 1ghz, Nvidia Vanta 16Gb, Windows 2000
Registered Purebasic User
PureBasic Game Creation Site
http://www.hypervox.co.uk/PureBasic/
PC 2:Intel P3 1ghz, Nvidia Vanta 16Gb, Windows 2000
Registered Purebasic User
PureBasic Game Creation Site
http://www.hypervox.co.uk/PureBasic/
I tried that already. I found one post about redirecting to a text file (not what I want to do), and another post pointing to this....
viewtopic.php?t=952
But this link comes up with an error.
If anyone knows where the post is that this link points to, I'll use it.
viewtopic.php?t=952
But this link comes up with an error.
If anyone knows where the post is that this link points to, I'll use it.
PC 1:AMD Athlon XP 2000,Geforce 2 MX400 64Mb, Windows 2000 
PC 2:Intel P3 1ghz, Nvidia Vanta 16Gb, Windows 2000
Registered Purebasic User
PureBasic Game Creation Site
http://www.hypervox.co.uk/PureBasic/
PC 2:Intel P3 1ghz, Nvidia Vanta 16Gb, Windows 2000
Registered Purebasic User
PureBasic Game Creation Site
http://www.hypervox.co.uk/PureBasic/
AAAAAAAhhhhhhhhhhhh........ and relax!
Cheers Fred.
Rgrds
Hypervox
Cheers Fred.
Rgrds
Hypervox
PC 1:AMD Athlon XP 2000,Geforce 2 MX400 64Mb, Windows 2000 
PC 2:Intel P3 1ghz, Nvidia Vanta 16Gb, Windows 2000
Registered Purebasic User
PureBasic Game Creation Site
http://www.hypervox.co.uk/PureBasic/
PC 2:Intel P3 1ghz, Nvidia Vanta 16Gb, Windows 2000
Registered Purebasic User
PureBasic Game Creation Site
http://www.hypervox.co.uk/PureBasic/


