Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hey guys,

i am making a hacking simulator and i need to be able to have 2 console windows open at one time. These two will be in the same project. I need on of them, the first one, to have all of the data in it and everything, it is like the screen. I need the other one to be the input window, this one is meant to be the console.

I need to be able to take the 'Console.ReadLine()' from the 'console' window and send it as a string to the 'screen' to process.

or

I need to be able to process the 'Console.ReadLine()' from the 'console' in the 'console' window, but then send the data to the 'screen' when it is finished.
Posted
Comments
Sandeep Mewara 2-Jul-12 6:35am    
i am making a hacking simulator...
What is the purpose of this hacking simulator you are talking of? Where will it be used?
Member 8378691 12-Jul-12 8:14am    
this is just a game

1 solution

Named pipes are a great way to communicate between multiple processes. What's makes them even better is that the processes don't have to share the same language.

This article on Namedpipe in C# will help you to understand name pipe and you can modify the sample to code as per your need.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900