473,511 Members | 15,364 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to communicate between two software where both are writen in Visual C++ 6.0

4 New Member
i am looking the way to communicate two software where writen in Visual C++ 6.0..both software hv COM, DLL and .exe file..
hope that anyone of u all can help me out..
thanks a lot..
Aug 9 '07 #1
5 2465
gpraghuram
1,275 Recognized Expert Top Contributor
i am looking the way to communicate two software where writen in Visual C++ 6.0..both software hv COM, DLL and .exe file..
hope that anyone of u all can help me out..
thanks a lot..
If u want both programs shuld communicate then u shuld use socket communication .
By the way have u tried anything from ur side?

Raghuram
Aug 9 '07 #2
shizu
4 New Member
the two software that i mentioned are in the same PC..if i do not want use socket communication to communicate those software, anything method that i can use..?? can i ask first software to call the function in second software, seen both of them are writen in Visual C++ 6.0..??
Aug 10 '07 #3
pythonista
3 New Member
What you're trying to do is IPC (Inter Process Communication)

http://en.wikipedia.org/wiki/Inter-p..._communication

Piping would've been the easiest to use if you're developing in a POSIX machine.

Using sockets is your best option. If you don't want to use sockets then I'd suggest that you use a file wherein:

App A -> writes a file containing a command that App B understands
App B -> reads the file and decides on what to do

Is there any reason why you don't want to use sockets?
Aug 10 '07 #4
Girish Kanakagiri
93 New Member
If u want both programs shuld communicate then u shuld use socket communication .
By the way have u tried anything from ur side?

Raghuram
Hi,

I had the impression that Socket programming is for establishing
communication across different servers and mor over in
Unix or Linux environmet.
I am curious to know whether it works in windows too, because
the op has mentioned that both softwares are developed in Visual C++ 6.0

Regards,
Girish.
Aug 10 '07 #5
shizu
4 New Member
Thank replying..
About the question why i don't want use socket communication..
because it will take time for my App A and App B to open comm port, write data and close comm port..
Although it may just taking 10 or 20ms, but it will make my App went slow..
it also same reason why i didn't choose use text file to communicate..
but if App A can straight assign value or data to App B like we can assign a value from function 1 to function 2 in the same app..then time is not a problem..
is it can't just call App B's function from App A..??
Aug 13 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

7
1833
by: sq1492 | last post by:
There are lots of talks about .Net going around. .Net is considered to be a RAD (rapid application development) framework so the question remains open whether it's useful for developing software...
1
3757
by: Evaluating Fuzzy SW | last post by:
Hi All We are using soundex (and later tried Nysiis) for fuzzy name search software. But we faced a lot of problems the search accuracy was not very good also we saw a lot of misses of...
8
4568
by: Joakim Persson | last post by:
Hello all. I am involved in a project where we have a desire to improve our software testing tools, and I'm in charge of looking for solutions regarding the logging of our software (originating...
3
7060
by: Jay Patel | last post by:
Hello, I need to write visual basic.net code to interface with a Mettler Toledo Shipping Scale that interfaces with a PC via USB or a serial port. I have seen example code on how to communicate...
11
5499
by: kd | last post by:
Hi All, Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine? Thanks. kd
0
3311
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the...
6
3174
by: Mike9900 | last post by:
How can I connect my .NET app which use remoting to communicate over internet, 2 instance of the same app? My app is already done using .NET Remoting. I am wondering if to change them to WCF or...
4
3849
by: Hero Doug | last post by:
A friennd and I were talking about OS development last night and a few questions were raised that need some clarification. I did the usual search and it turned up the usual garbage, so I'm hoping...
1
2021
by: chanshaw | last post by:
Alright here is the issue: We have a corperate network which all professors can use, and then we have a student network for the students. Now we bought a software that allows remote monitoring of...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7353
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5662
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1572
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
446
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.