Off Topic: Your NuGet EventWatcher Package #85
BourgeoisDirk
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Hi there! I honestly don't remember this package at all! It must've been something I used privately. But now I looked it up and it's a port of this library for .NET Core: https://github.com/justcoding121/windows-user-action-hook So just follow the examples there and you'd be fine. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Dev,
I'm having some trouble with one of your Packages, and I don't know why it occurs.
Thought I'd come by and ask ?
I've added "EventHookCore" to my Class Library, and added this class (at first i spoke to ClipboardWatcher directly, but changed to this)
` using EventHook;
Using it as such:
`
private EventWatcher EventWatcher;
It pops up an error that i cannot access my Window controls from another thread, but adding a Dispatcher.Invoke does get passed that error.
Only to then completely freeze on the "StartExecution()", no clue why it's bothered about threads ?
Before I was using the NuGet lkst.ClipboardWatcher.WPF, but it only works with a WPF WindowHandle that has been Visible, which won't work for me. That package seems to have no issues with threading, i can subscribe to it's ClipboardChanged event and execute my code just fine.
That put aside, yours seems very clean and has more functions, but I don't get why i can't get it to work.
Any suggestions. (Again, sorry I know it's off topic and doesn't belong here. But couldn't find anohter way to make contact)
Kind regards !
Beta Was this translation helpful? Give feedback.
All reactions