RTC Forums
November 21, 2024, 12:14:45 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Dashboard
>
Quick Start
>
NEVER use Application.ProcessMessages, ShowMessage or similar from RTC events!
Pages: [
1
]
« previous
next »
Print
Author
Topic: NEVER use Application.ProcessMessages, ShowMessage or similar from RTC events! (Read 9046 times)
D.Tkalcec (RTC)
Administrator
Posts: 1881
NEVER use Application.ProcessMessages, ShowMessage or similar from RTC events!
«
on:
September 23, 2016, 12:45:10 PM »
When working with the RTC SDK (especially when using its default message-driven asynchronous sockets API), you should
NEVER
use
Application.ProcessMessages
,
ShowMessage
,
ShowModal
(or any other function or method which would allow messages from the OS to be processed while waiting) from any event triggered by RTC components.
If you ignore this rule, you are likely to end up with
Access Violations
and other kinds of Exceptions raised after your event returns back to the component, or while waiting and trying to use the component from inside the event, because RTC components are being dinamically created and
destroyed
based on messages
received from the OS.
Best Regards,
Danijel Tkalcec
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...