Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ok how would this work....
#1
Lets suppose that i make a windows executable shit via c++.I can execute it via SHELL though qbasic.Lets say that i want to control this window,send message somehow pure text ,commands,how can i do that?
Reply
#2
send them as command line parameters? this is limited to 256 bytes

text$ = "hiya"
'SHELL "mycprog " + text$'


then have mycprog take the commandline arg and process it.. i dunno
Reply
#3
How can i use shell and use the same program?If it is limited to 256k doesnt matter
Reply
#4
hm? i think you have to be clearer as to what exactly it is youre trying to acomplish

and no, its not 256k, its 256 BYTES, (.25k)
Reply
#5
aka, around 256 characters of a string.
i]"But...it was so beautifully done"[/i]
Reply
#6
better known as 256 letters or numbers.
Screwing with your reality since 1998.
Reply
#7
The best, most reliable way that you can do this, besides hacks which may or may not work on different OSes, is to simply have the program you want to control read from a text file, and have the program you want to be controlling write to that text file.

It's not elegant, but it does work.
Reply
#8
Quote:better known as 256 letters or numbers.

No. A Character doesn't only include letters or numbers but all valid ASCII symbol.
i]"But...it was so beautifully done"[/i]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)