agrippa1994 / DX9-Overlay-API

Overlay API for DirectX 9 based games.
MIT License
127 stars 26 forks source link

Can't find the dll file message #24

Open ciphernemo opened 8 years ago

ciphernemo commented 8 years ago

Thanks for creating this, but having some problems getting it to work with AutoHotKey

I'm using AutoHotKey 1.1.22.00 and having some issues with never being able to load the dx9_overlay.dll file.

I've checked the path, tested different paths, and even put all the files together in the same folder and changed the overlay.ahk file to accommodate this.

I even tried your sample file "hello world.ahk" and it gives the same error in not loading the dll.

Have you tested this overlay with the latest AutoHotKey and DX9?

Any troubleshooting tips for making sure the line hModule := DllCall("LoadLibrary", Str, PATH_OVERLAY) does indeed load the dll? Or do you think this is a DX9 issue? DX9 apps load on my test computer here.

Thanks!

ciphernemo commented 8 years ago

I found the problem: I didn't heed your warning about the ANSI 32-bit version. I had the regular 32-bit version of AutoHotKey. The DLL loads now.

With that said, is there any way to get this overlay to work with the latest AutoHotKey? Can we wrap tags around calls to make it ANSI friendly or something? Thanks.

ciphernemo commented 8 years ago

This forum post over at AutoHotkey pretty much solved the issue when trying to run in the regular 32-bit version of AutoHotkey: https://www.autohotkey.com/boards/viewtopic.php?p=22299#p22299

Can you update yours to match these changes so that it's not dependent on the ANSI 32-bit version of AutoHotkey? Thanks!