Forum > General

Opening standard streams with TFileStream (or any other TStream descendants)

(1/1)

Leledumbo:
Is it possible? One thing for sure is that using empty string doesn't do it.

felipemdc:
Try something like this:

MyStream := THandleStream.Create(StdInputHandle);

Leledumbo:
Working, thanks.

Navigation

[0] Message Index

Go to full version