troubleshooting Question

Hiding an application from another application

Avatar of petterton
petterton asked on
ProgrammingC#
4 Comments1 Solution277 ViewsLast Modified:
I have this Windows software program (let's call it appA), which from time to time starts another program (appB.exe) to make some calculations. AppB is just a console application, so I assume that appA collects its information from appB by reading stdout. (AppA is a commercial software package, and I have no info on how this is done)

My problem is that I, in my C# application, also start an instant of appB.exe. When I do this, it seems like appA mixes up the two instances of appB, so that the connection between appA and appB is no longer working. Is it possible for me in my C# application to start appB, in some way or another, so that it is not confused with the instant of appB already running. I know this can be a tricky question to answer, as I do not know what mechanism appA uses to recognize appB once it has started. I have tried something as simple as making a copy of and renaming the appB.exe but that did not help. Any suggestions?
ASKER CERTIFIED SOLUTION
basicinstinct

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros