Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FbRemoteEvent problem [DNET502] #486

Closed
firebird-automations opened this issue May 28, 2013 · 4 comments
Closed

FbRemoteEvent problem [DNET502] #486

firebird-automations opened this issue May 28, 2013 · 4 comments

Comments

@firebird-automations
Copy link

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!

@firebird-automations
Copy link
Author

Commented by: LIKORIS Ltd. (likoris)

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.

@firebird-automations
Copy link
Author

Modified by: LIKORIS Ltd. (likoris)

Attachment: Events.7z [ 12321 ]

@firebird-automations
Copy link
Author

Commented by: @cincuranet

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?

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Cannot Reproduce [ 5 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants