Solved

VB5 real time communication

Posted on 1998-10-01
1
155 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Paint/Redraw window while dragging 16 88
Windows Script Host failed (Access is denied.) error 6 340
Add a task in Outlook from access 11 43
Formula problem with Excel attachment 6 43
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

733 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