Asynchronous Property

This property specifies the operation mode of POPMAIN Object.


Data Type: long

Remarks

If the value of asynchronous property is zero, POPMAIN object works in synchronous mode. If the value of property is 1, POPMAIN object works in asynchronous mode. In synchronous mode, all events won't be fired. The default value is zero.

It is more easier to develop application in synchronous mode. However, running in asynchronous mode could provide higher performance.

In synchronous mode, once a method is called, it returns to application after the method is complete. Therefore, if the runtime is long, your application cannot do anything before this method ends, which results in lower efficiency. In contrast, in asynchronous mode, as method works in background, all methods return to application immediately no matter the running method is complete or not. The return value will pass to application via fired event.

To learn more about asynchronous operating mode, please refer to the regarding events. You may also download ANPOP.exe in which many samples are embedded. Those samples demonstrate how to use asynchronous operating mode to raise your application's efficiency and flexibility.

See Also

Connect Method


2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.