Giter Site home page Giter Site logo

Comments (5)

LAB02-Admin avatar LAB02-Admin commented on June 5, 2024 1

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.

Willy-Kimura avatar Willy-Kimura commented on June 5, 2024 1

Sure, I can work on that.

from hotkeylistener.

Willy-Kimura avatar Willy-Kimura commented on June 5, 2024

Thank you for reporting this. I'll be sure to look into it.

In the meantime, checkout this SO thread.

from hotkeylistener.

LAB02-Admin avatar LAB02-Admin commented on June 5, 2024

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.

tGecko avatar tGecko commented on June 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.