Conversation
|
|
@FuPeiJiang I am not averse to the idea of updating this library, but is this CLR issue not essentially a show-stopper? |
|
@evilC I have a proof of concept using coreclr api I tried to work around the unspecified limitations, but still ended up writing a wrapper: C# dll, the C# dll can be loaded from memory: changes required: #include %A_LineFile%\..\CLR.ahk#include %A_LineFile%\..\DotNet.ahk asm := CLR_LoadLibrary(dllFile) asm := DotNet_LoadLibrary(dllFile)for this proof of concept, I only replicated I kinda need feedback on the directory structure, and many things this is a cool demo: Console := DotNet.using("System.Console")
Console.WriteLine("Hello from C#")
File_ := DotNet.using("System.IO.File")
Console.WriteLine(File_.ReadAllText(A_LineFile))https://github.com/FuPeiJiang/DotNet.ahk/blob/main/DotNet.ahk
Thanks for the LTS, for |
I'm not sure what the correct replacement for
Thread.Abortwould be ?but since it's a polling loop,
CancellationTokenSource(or avolatilebool) could be used ?I was trying to find a way to detect vk and sc for controller Square and Star buttons, but I guess they are non-standard
I guess I read the wrong repo, because this is for mouse and keyboard only, I thought HID vk sc would be device-agnostic