Jump to content


[AHK_L][AhkDllThread] class _ make it crash


  • Please log in to reply
6 replies to this topic

#1 Guests

  • Guests

Posted 18 June 2012 - 07:31 AM

This code make AHK_L v1.1.07.03 crash.

class _{
}
msgbox I will crash 2 seconds after you hit OK
sleep 2000
AhkDllThread()
The class _ thing is interfering in some way with something inside AhkDllThread

Files AhkDllThread.ahk and AhkDllThread.dll have to be reachable for it to work (and crash).

#2 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 19 June 2012 - 10:20 PM

Thanks for reporting ;)

Should be fixed now, can you try again?

#3 Guests

  • Guests

Posted 20 June 2012 - 11:54 AM

I downloaded AhkDllThread.ahk from <!-- l --><a class="postlink-local" href="http://www.autohotkey.com/community/viewtopic.php?f=13&t=60630">viewtopic.php?f=13&t=60630</a><!-- l --> but it's the same.
What file should I update?

#4 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 20 June 2012 - 01:40 PM

Sorry, you should update _Struct and sizeof. :oops:

#5 Guests

  • Guests

Posted 20 June 2012 - 09:34 PM

I can't find the updated versions of those files.
I checked in this post <!-- l --><a class="postlink-local" href="http://www.autohotkey.com/community/viewtopic.php?t=59581">viewtopic.php?t=59581</a><!-- l --> which has the links to github. But both files are the old versions.

#6 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 21 June 2012 - 04:44 AM

I've uploaded them to autohotkey.net :oops:
I have merged git now too.

#7 Guests

  • Guests

Posted 21 June 2012 - 04:09 PM

It's working fine now.
Many thanks.