Help with DllCall Function and gpcomms.dll

Get help with using AutoHotkey and its commands and hotkeys
Posts: 3
Joined: 21 Nov 2015, 15:54

Help with DllCall Function and gpcomms.dll

26 Oct 2017, 20:35

Hello Everyone

i need use a DLL file with DllCall Function from AHK, but don't works, i need use "gpcomms.dll" from, ..., 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)
	MsgBox, 48, Message, DLL Not Found, 1
	MsgBox, 48, Message, DLL Found, 1
Thanks for you Help. :)
User avatar
Posts: 156
Joined: 29 Sep 2013, 22:55

Re: Help with DllCall Function and gpcomms.dll

26 Oct 2017, 23:34

Make sure you aren't mixing a 32 bit dll with 64 bit ahk or vice-versa ;)

Return to “Ask For Help”

Who is online

Users browsing this forum: Bar_Dres, Bing [Bot], LeonAskin, Spawnova, XMCQCX and 48 guests