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

UniqueInstance uses the OnMessage event in combination with a timer #26

Open
han-k59 opened this issue May 5, 2019 · 0 comments
Open

Comments

@han-k59
Copy link

han-k59 commented May 5, 2019

For UniqueInstance, Is is not better to use an onMessageQueued event rather then OnMessage event. The timer is then no longer required. See attached example.

Han

Later:
Sending parameters only worked in Windows. For Linux there is no onMessageQueued event. If have do a SimpleIPCServer1.PeekMessage(1,True) driven by timer. :(
Attached an version which works both for Linux and Windows. The Linux part is timer driven. Now I understand why there is a timer in your component.

test one instance only for windows and linux.zip

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

No branches or pull requests

1 participant