04-01-2005, 11:54 PM
I want a way so two applications communicate each other...
How can i make two applications communicate ??
|
04-01-2005, 11:54 PM
I want a way so two applications communicate each other...
04-02-2005, 12:04 AM
The only thing that comes to mind right now would be using files.
Psuedocode: Code: A: Writes Pie to file
04-02-2005, 12:30 AM
How can this happen at real time??
04-02-2005, 12:59 AM
it woudlnt, it would be done in steps
step 1: write to external file. step 2: pass execution to prog2 step 3: prog2 reads the file, writes its output step 4: pass execution back to mainprog er... why are you doing this btw
04-05-2005, 12:46 AM
I think he means some way of multithreading. Sorry dude, not with QB
color=red]Look at you, Hacker. A pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?" - Shodan, AI at Citadel Station orbiting Earth[/color]
04-05-2005, 04:03 PM
Two DOS programs can't run at the same time in a single DOS environment. DOS was made like this...
If you plan to run two programs sequentially in the same DOS box, the CHAIN instruction can be set to preserve variables. You can have two DOS boxes running at the same time in Windows. There are many ways in wich windows processes can communicate but those can't be accessed from the dos programs, unless you use a slave Windows program to do it. You could use dsock (a library allowing QB to access the TCP-IP services of Windows) to connect "live" the two programs.
Antoni
|
« Next Oldest | Next Newest »
|