0

Hi,
CPP : How do i call a function in another program?
the main function is in one program and i want this main function to call a function in another program.
Can anyone please give me the sample code for this? Thanks in advance

4
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by corby
0

under normal circumstances you can't do that.

You can to set up some sort of communications link (a pipe or a shared file or shared memory, or a network link) between the programs and have them co-operate with each other in executing the required functionality.

0

under normal circumstances you can't do that.

You can to set up some sort of communications link (a pipe or a shared file or shared memory, or a network link) between the programs and have them co-operate with each other in executing the required functionality.

can you please give me the sample code for that?

0

you could just make a header file and include that into you program if your using classes and stuff....of course that was a very general explanation. If u want send me your code and ill look at it

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.