Hi All,
I am calling one exe from my c++ code exe, now i want some(two or three) values in my c++ code exe from that exe which i am calling,

Any idea how can it be done?

Plz help me out in this.

Recommended Answers

All 3 Replies

program A calls program B. Program B writes some stuff to a file and program A reads it. Or you could use pipes (see man pages for popen() )

...Or you could use pipes (see man pages for popen() )

Or even named pipes which can be accessed just like any file

Niek

i think this topic is called interprocess communication {i am just starting learning about it..}

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.