Asynchronous Processing

Asynchronous Processing

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?

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  Essential Measures for Safeguarding Your Digital Data

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