i need use a DLL file with DllCall Function from AHK, but don't works, i need use "gpcomms.dll" from, http://www.mikoweb.eu/wdps_downloads/15 ... _32_64.zip, works with "gp_demo.exe" but can't with ahk, this is my Code:
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
DLLPath := "D:\001USF4Arcade\001UltraStreetFighterIV\gpcomms.dll"
hModule := DllCall("LoadLibrary", "str", DLLPath)
if(!hModule)
MsgBox, 48, Message, DLL Not Found, 1
else
MsgBox, 48, Message, DLL Found, 1
