?
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
Medium Priority
?
342 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Suggested Courses

765 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