Solved

VB5 real time communication

Posted on 1998-10-01
1
150 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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now