?
Solved

VB5 real time communication

Posted on 1998-10-01
1
Medium Priority
?
158 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
waty earned 400 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

752 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