Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Opening standard streams with TFileStream (or any other TStream descendants)
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Which Control should I us...
by
wp
[
Today
at 05:58:33 pm]
Mundo Medieval 3D MMORPG ...
by
Rodrigo Robles
[
Today
at 05:26:38 pm]
[New Component] ExtTabCtr...
by
wp
[
Today
at 05:12:01 pm]
Fast Canvas Library V1.05...
by
Gigatron
[
Today
at 04:57:35 pm]
Can /my/ AI help me with ...
by
microxa
[
Today
at 02:25:12 pm]
SynEdit theme
by
LemonParty
[
Today
at 02:01:33 pm]
What happened to CocoaWSC...
by
Frank
[
Today
at 01:31:19 pm]
Very rough version of a s...
by
Hansvb
[
Today
at 12:44:31 pm]
TCHATGPT — An Artificial ...
by
Martin_fr
[
Today
at 12:21:40 pm]
Pdf Viewer in Pascal
by
Dzandaa
[
Today
at 11:44:26 am]
Single and Double, Conver...
by
jamie
[
Today
at 12:00:51 am]
Lazarus Bugfix Release 4....
by
Martin_fr
[June 13, 2026, 11:02:41 pm]
Error with last fixes_3.2...
by
Fred vS
[June 13, 2026, 10:49:27 pm]
Lazarus 4.8 on Sourceforg...
by
Enos68
[June 13, 2026, 08:00:47 pm]
Conscious Artificial Inte...
by
Dzandaa
[June 13, 2026, 05:59:22 pm]
If FileExists(
by
Bart
[June 13, 2026, 05:57:26 pm]
docked IDE and form capti...
by
Paolo
[June 13, 2026, 02:53:50 pm]
New version of LazMapView...
by
wp
[June 13, 2026, 12:09:27 pm]
PadXml 1.1.0 – Portable A...
by
AlexanderT
[June 13, 2026, 10:38:42 am]
Arkanoid
by
Tomi
[June 13, 2026, 09:46:46 am]
Interesting video
by
Joanna
[June 13, 2026, 06:24:53 am]
IndySecOpenSSL is now ava...
by
TheMouseAUS
[June 13, 2026, 03:49:17 am]
Message CM_ShowingChanged...
by
LeP
[June 13, 2026, 02:13:51 am]
[SOLVED]Program experienc...
by
Cainnech
[June 13, 2026, 12:19:17 am]
TATTabs - how to stop a 3...
by
bobonwhidbey
[June 13, 2026, 12:03:15 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Opening standard streams with TFileStream (or any other TStream descendants) (Read 4027 times)
Leledumbo
Hero Member
Posts: 8836
Programming + Glam Metal + Tae Kwon Do = Me
Opening standard streams with TFileStream (or any other TStream descendants)
«
on:
August 18, 2010, 04:46:31 am »
Is it possible? One thing for sure is that using empty string doesn't do it.
Logged
Follow this if you want me to answer:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
http://pascalgeek.blogspot.com
https://bitbucket.org/leledumbo
https://github.com/leledumbo
Code first, think later - Natural programmer B)
felipemdc
Administrator
Hero Member
Posts: 3538
Re: Opening standard streams with TFileStream (or any other TStream descendants)
«
Reply #1 on:
August 18, 2010, 12:07:19 pm »
Try something like this:
MyStream := THandleStream.Create(StdInputHandle);
Logged
Leledumbo
Hero Member
Posts: 8836
Programming + Glam Metal + Tae Kwon Do = Me
Re: Opening standard streams with TFileStream (or any other TStream descendants)
«
Reply #2 on:
August 19, 2010, 05:22:17 am »
Working, thanks.
Logged
Follow this if you want me to answer:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
http://pascalgeek.blogspot.com
https://bitbucket.org/leledumbo
https://github.com/leledumbo
Code first, think later - Natural programmer B)
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Opening standard streams with TFileStream (or any other TStream descendants)
TinyPortal
© 2005-2018