Comments (5)
Update: I've removed TextSelectionReader.cs and its references, and changed SourceAttributes.GetSelection() to just return an empty string. This resolved the crash.
from hotkeylistener.
Sure, I can work on that.
from hotkeylistener.
Thank you for reporting this. I'll be sure to look into it.
In the meantime, checkout this SO thread.
from hotkeylistener.
Yea it's probably a x86/x64 thing. Not an issue anymore when not looking into the target application through GetSelection(), perhaps make it optional/configurable?
from hotkeylistener.
Can confirm this issue on Win 11 22621.1848
My program using the HKL class crashes when the hotkey is pressed while certain programs are in focus. (MS Edge, Outlook are two examples)
This function is what crashes the application with a System.AccessViolationException
as it is trying to access secure memory
commenting out this function here works for me as a workaround
from hotkeylistener.
Related Issues (20)
- Selections don't work in Firefox Browser HOT 3
- WPF support for HotkeySelector HOT 1
- Question: Sending an hotkey stored class Hotkey to windows application HOT 1
- Creation of HotKey Class instance using a string only works if correct upper/lowercase is used HOT 1
- save hotkey in settings HOT 6
- .net 5.0 support HOT 1
- Having trouble using hotkeys with a console app
- Strange behavior of Google Chrome HOT 2
- KeyNotFoundException when hotkey is pressed twice and suspending HOT 1
- ScrollLock based combo's HOT 1
- Win32Exception thrown in even the most basic program
- How do I change hotkeys HOT 3
- key PageDown
- Win Key Exception
- Screen resizes
- Exception raised in UIAutomationClientsideProviders.dll (see GetTextFromAutomationElement) HOT 3
- Prevent RegisterHotKey from stopping the default key action? HOT 7
- Issues with single key hotkey HOT 3
- Compile Error in VS 2019 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotkeylistener.