DirectEvents - property of the AtouchX object
Returns or sets the direct events call flag.
The property affects the internal behavior of the object and its eventual change must be made before initializing the connection.
false (default) - (Implicit) When the connection is initialized, an auxiliary thread is created to trigger all events. This approach is slightly slower and more secure.
true - Events will be triggered directly from the threads serving the HW PC. This approach is faster, but on the other hand more dangerous. If the application in the event will cause a delay, then this can lead to communication breakdown or communication errors!
Property access for read and write.
oATC.DirectEvents = false;