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.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: