I lurk in both echos and have been influenced by snippets, as I
have been learning more and more I can see why the C people want to
keep C ansi pure, ansi with no extentions is almost a montra there, I
never subscribed to that, as thier reason seems to be portabillity, which
even if that Holy Grail could be achieved, I would find it to constraining
to have to look up the ansi way when a perfectly good function is readily
available. I for one use dlls as a way to use my C code in other languages.
So much for purity, when the choice is rewriting.
Question:
I have been using C++ Win32 dlls in my visual basic programs.
Lets say that I
retval=Shell("c:\windows\notepad.exe,3)
SendKey("try this")
"In visual basic this starts a child program and sends keystrokes to it"
I cannot find a way "yet" in VB to read text from the shelled program.
Could anyone point me in the right direction of a way to get text from
the "retval" program.
If you have a VB way of doing it please netmail me or email at
johnjd@worldnet.att.com
If you have an on topic C++ way I will check back here each day.
But, I still would not mind a little mail.
... I fear explanations explanatory of things explained (A.Lincoln)
--- Blue Wave/DOS v2.20 [NR]
---------------
* Origin: The Witch City BBS *Salem,MA [978]745-1689 *Hayes 28.8 (1:101/301)
|