• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

VB5 real time communication

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.
1 Solution
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.

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now