Hi Ahk World
I have this code in VB referring to use DLL
/*
Dim strResultado As String
strResultado = DLL_Trazabilidad.cls_Trazabilidad.Consulta_ICT("123456789")
MsgBox("Resultado : " & strResultado)
*/
I try to use dll with ahk , but I recibe error -4: The specified function could not be found inside the DLL.
I don´t know if this make an error DLL_Trazabilidad.cls
This code is in AHK
Result := DllCall("DLL_Trazabilidad\ Trazabilidad.Consulta_ICT" , str, "123456789")
MsgBox %ERRORLEVEL%
MsgBox Resultado %Result%
Any help could help
Thanks in advance
Dll translate ahk Topic is solved
Re: Dll translate ahk
I can´t see the function inside the DLL
I attach DLL here
thanks in advance
I attach DLL here
if someone can help me to see the function inside the dll would be nice
thanks in advance
Re: Dll translate ahk
Your dll is .NET dll, you will need CLR library.
Something like this (not sure it is correct):
You can use ilspy or dotPeek to view the .NET dll apis.
Something like this (not sure it is correct):
Code: Select all
#Include CLR.ahk
asm := CLR_LoadLibrary("DLL_Trazabilidad.dll")
DLL_Trazabilidad := CLR_CreateObject(asm, "DLL_Trazabilidad.DLL_Trazabilidad")
result := DLL_Trazabilidad.Consulta_ICT("123456789")
MsgBox, % result
Re: Dll translate ahk
Thanks y tmplinshi
let's do some try
Thanks
let's do some try
Thanks
Who is online
Users browsing this forum: No registered users and 139 guests