Solved

VB6 - How do I call routines in one exe from another exe like they are in same exe

Posted on 2014-01-07
2
340 Views
Last Modified: 2014-01-07
I have a VB6 exe that has a serial comms driver involved.
The issue is that sometimes whilst awaiting a response form the serial port, some other event occurs that consumes CPU for a time and as the code connot respond to serial data the device times out and errors.
I need to either be able to give priority to the serial comms code or split this serial control ot to a separate exe or somehting so that it cannot be interrupted but I then need some way to call its routines and recieve data from it.
Any help would be appreciated.
0
Comment
Question by:mortonkr
[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
2 Comments
 
LVL 12

Accepted Solution

by:
ktaczala earned 500 total points
ID: 39764253
In .net it's called multithreading.  Not really supported out of the box in VB6.
here's a link that may help.
http://stackoverflow.com/questions/109931/multithreading-in-visual-basic-6-0
0
 

Author Closing Comment

by:mortonkr
ID: 39764276
I was just looking at doing it via a separate activex exe whe your answer came thru. I'm new to creating activex exe but I'm learning fast!
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
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…
Introduction to Processes

717 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