You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The application is very often does not respond to events.
In my application, the user can cause the child windows, which immediately begin wiretapping of certain events. If the user opens two child windows, the program sometimes starts to ignore the event.
Moreover, if the application is run from a computer that is running Firebird error does not occur.
Fix the problem but could not. While sdealal this:
In file GdsEventManager.cs to add a line
...
operation = this.database.ReadResponse();
Thead.Sleep(10); //added line
switch (operation)
{
...
and the error does not occur.
The problem in the streams!
The text was updated successfully, but these errors were encountered:
The test application.
After starting the program you need to press two buttons "TabPage 1" and "TabPage 2" series.
About 5 out of 10 cases (with restarting the program) reaction to the event, "EVENT2" does not occur.
I remind you that if you run a program on the computer that have put in Firebird, then everything is fine. The problem arises precisely network.
Software nazhdatie buttons "TabPage 1" and "TabPage 2" also does not lead to a problem. The problem occurs only when the user clicked.
How do you concluded that the Thread.Sleep solves the problem and not only mimics the issue that would occur (much) later? What's the reasoning behind the Thread.Sleep?
Submitted by: LIKORIS Ltd. (likoris)
Attachments:
Events.7z
Votes: 1
The application is very often does not respond to events.
In my application, the user can cause the child windows, which immediately begin wiretapping of certain events. If the user opens two child windows, the program sometimes starts to ignore the event.
Moreover, if the application is run from a computer that is running Firebird error does not occur.
Fix the problem but could not. While sdealal this:
In file GdsEventManager.cs to add a line
...
operation = this.database.ReadResponse();
Thead.Sleep(10); //added line
switch (operation)
{
...
and the error does not occur.
The problem in the streams!
The text was updated successfully, but these errors were encountered: