Code: Select all
namespace consoleDLLtest
{
public class ClassHello
{
public string Method()
{
return "Hi, this is from DLL";
}
}
}
I did this but it doesn't work probably because it was bad coded xd
Code: Select all
#Requires AutoHotkey v2.0
Result := DllCall("ClassLibrary1" ,"Str" , "Method" , )
MsgBox Result
Error: Call to nonexistent function.
▶ 003: Result := DllCall("ClassLibrary1" ,"Str" , "Method" , )
004: MsgBox(Result)
007: testVariable := unset
The current thread will exit.
sorry I'm net at learning DLL stuff.