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

Autohotkey.Interop AccessViolation Exception #6

Open
poochie89 opened this issue Apr 25, 2021 · 1 comment
Open

Autohotkey.Interop AccessViolation Exception #6

poochie89 opened this issue Apr 25, 2021 · 1 comment

Comments

@poochie89
Copy link

poochie89 commented Apr 25, 2021

I am using your this Wrapper library in a Desktop Bridge App.
Most of the functions work fine, but some are causing a non-catchable, deadly AccessViolation Exception.
These exceptions only happen if the app is "bridged"

Minimal reproducable example:

  • Package WPF App
  • Install Autohotkey.Interop Nuget Package
  • Run the following code:
var ahk = AutoHotkeyEngine.Instance;
ahk.LoadScript("Reload");
@luojunyuan
Copy link
Owner

Sorry I can't help, I do not maintain the repository. The bridge app seems like having a strict limit to dll load behavior. I'm not sure if that is the reason. This link may help https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-prepare?wt.mc_id=MVP

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

2 participants