[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 345
  • Last Modified:

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

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
mortonkr
Asked:
mortonkr
1 Solution
 
ktaczalaCommented:
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
 
mortonkrAuthor Commented:
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now