Solved

VB5 real time communication

Posted on 1998-10-01
1
154 Views
Last Modified: 2010-04-30
Hello,
I'm writing MMI to a vision machine under Windows NT environment (the machine code is written in VC++, without using MFC).
Originally the MMI was written on VB4 and the communication between the MMI and the machine was throw sockets (I used a DDL that I wrote, not an OCX).
Now I'm upgrading the MMI to VB5 and I want to use more conventional way (I understand that socket is not the right way to connect two applications on the same computer, and I've tried DDE but the result wasn't good enough).

What is the best way to communicate between two applications running on the same computer, sending and receiving many synchronic and asynchronic messages in a short time (the machine is running in real time priority)?
I prefer to use an existing OCX or DLL and not to write the
all thing from scratch.
Any sample application or code will be very helpful.

Many thanks.
0
Comment
Question by:amnav
1 Comment
 
LVL 14

Accepted Solution

by:
waty earned 200 total points
ID: 1437573
You should communicate using pipe.

I have code oo a DLL written in VC++ using pipe. If you really need it, but it was developped and used 4 years ago.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question