Autohotkey.dll Bug

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
User avatar
Klark92
Posts: 132
Joined: 18 Jan 2015, 19:33

Autohotkey.dll Bug

17 Dec 2016, 08:07

When I use some codes... it gives this:

detail: winring0 library gives this error to me

Image
Smart Kombo 1.0 | One of the best Knight Online's key combo program...
HotKeyIt
Posts: 1536
Joined: 29 Sep 2013, 18:35
Contact:

Re: Autohotkey.dll Bug

17 Dec 2016, 20:08

Do you have example code?
What happens when you click no?
User avatar
Klark92
Posts: 132
Joined: 18 Jan 2015, 19:33

Re: Autohotkey.dll Bug

17 Dec 2016, 20:55

Every option exits the main program (everything dies)...

https://drive.google.com/file/d/0B-6wIG ... sp=sharing

main file is subs.ahk ... (maaan darned winring0)
Smart Kombo 1.0 | One of the best Knight Online's key combo program...
HotKeyIt
Posts: 1536
Joined: 29 Sep 2013, 18:35
Contact:

Re: Autohotkey.dll Bug

18 Dec 2016, 21:10

The error happens in ReadIoPortByteEx and it happens also for official AutoHotkey but you get no error message, at least you can see that key is not send.
So the problem seems to be in WinRing0.

Code: [Select all] [Download] GeSHi © Codebox Plus

ReadIoPortByteEx(port, ByRef value) {
Return DllCall(getdll() . "\ReadIoPortByteEx", "UShort", port, "Ptr", value)
}
User avatar
Klark92
Posts: 132
Joined: 18 Jan 2015, 19:33

Re: Autohotkey.dll Bug

19 Dec 2016, 11:30

But official autohotkey can send anykey I want, Im not an expert but im using it , it works ?, ahk.dll gives error and it exits.. this is a main problem... i dont know why
Smart Kombo 1.0 | One of the best Knight Online's key combo program...
HotKeyIt
Posts: 1536
Joined: 29 Sep 2013, 18:35
Contact:

Re: Autohotkey.dll Bug

19 Dec 2016, 18:28

It did not work for me and raised the same error which happens in WinRing0.dll (found this while debugging).
Can you run the code in current AutoHotkey_H.exe and confirm it is working?
User avatar
Klark92
Posts: 132
Joined: 18 Jan 2015, 19:33

Re: Autohotkey.dll Bug

19 Dec 2016, 18:41

Its working well with AHK_H(1.1.19.1 exe worked, dll is not), newer version is giving same error both...

Smart Kombo 1.0 | One of the best Knight Online's key combo program...
HotKeyIt
Posts: 1536
Joined: 29 Sep 2013, 18:35
Contact:

Re: Autohotkey.dll Bug

19 Dec 2016, 19:11

Which current version works for you from official AutoHotkey (ANSI, UNICODE, X64)?
User avatar
Klark92
Posts: 132
Joined: 18 Jan 2015, 19:33

Re: Autohotkey.dll Bug

19 Dec 2016, 19:27

I always use Ansi 32 Bit, I dont face any problem with Lexikos version, also I tested it on your 1.1.19.1 version of exe,it is working, but only the exe can run it...
Smart Kombo 1.0 | One of the best Knight Online's key combo program...

Return to “AutoHotkey_H”

Who is online

Users browsing this forum: No registered users and 1 guest