Code: Select all
hModule := DllCall("LoadLibrary", Str, "D:/Games/GTA SAMP/Open-SAMP-API.dll")
if(!hModule)
{
MsgBox, 48, Error, The dll-file couldn't be found!
ExitApp
}
Code: Select all
hModule := DllCall("LoadLibrary", Str, "D:/Games/GTA SAMP/Open-SAMP-API.dll")
if(!hModule)
{
MsgBox, 48, Error, The dll-file couldn't be found!
ExitApp
}
"D:/Games/GTA SAMP/Open-SAMP-API.dll"
Code: Select all
setworkingdir,%a_scriptdir%
yy:="D:\Games\GTA SAMP\Open-SAMP-API.dll"
;yy:="C:\Programme\SAMSUNG\Smart Switch PC\7z.dll"
hModule := DllCall("LoadLibrary", Str, yy)
if(!hModule)
msgbox, 262208,DllCall ,The dll-file`n%yy%`ncouldn't be found!
else
msgbox, 262208,DllCall ,Found the dll-file:`n%yy%
exitapp
Users browsing this forum: No registered users and 6 guests