devxlogo

Asynchronous Processing

Asynchronous Processing

Question:
I have written an ActiveX EXE. that handles Batch Reporting requirements on a large amount of data. Even though it is an Out-of-Process “server”, it still seems to execute sychronously. Basically, is there an easy way to achieve asynchronous processing?

Answer:
Out of process only means that it runs in a different memory space, however, a client application still waits for the server to return before continuing execution.

The easiest way to achieve async execution is to put a timer in the server that when activated kicks off the async function and have the client app activate the timer. If you need a return value do it in the form of an event.

See also  How to Create and Deploy QR Codes Online: A Comprehensive Guide
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist