I put together a small DLL in vb.net that I am trying to call with ams. I'm recieving an error stating the DLL is unable to find the function I'm calling. I confident I'm not calling the DLL quite right and wanted to clarrify.
The VB DLL has a structure like:
Class NameofDllclass
Public Function ThisIsMyFunction (Parameter1, Parameter2) as Integer
.............
return Value
End Function
End Class
I'm using DLL.CallFunction as follows:
p = DLL.CallFunction("filepath...Dllfilename.dll", "ThisIsMyFunction", "Param1, Param2", DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL);
When calling DLLs within vb projects, I need to reference the class "ie. NameofDllClass". Do I need to do make this reference somehow with the DLL.CallFunction?
Thanks,
Willis

