Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Arguments for Simphony Extensibility App

Status
Not open for further replies.

Milos MNE

Programmer
Oct 14, 2021
10
ME
Hi,

I'm trying to call a function from my dll by clicking on a button but I keep getting this exception:

simph_exception_ymdo8r.png


My arguments are:

simph_arguments_kckndf.png


Currently return type of my C# method is void and I think that's the problem.
What return type should it be and is there a way to change the expected return type?

Kind regards,
Miloš
 
There are two valid signatures

void MethodName();

void MethodName(object args);

If you have defined the "object args" then you need to supply some parameters in the arg section in your screenshot (event if its just a blank space)


Specialist in creating custom applications for the Micros POS range: 3700, 9700, Simphony FE, Simphony. SIM Scripts, Data Exports, Simphony extension applications, API Creation and integration. If you need anything please contact me via my website
 
Thank you for your help.

I've tried creating very basic DLL, with only one empty method and now I'm getting error Can't find Assembly my_dll_name_lowercase.dll.
Do you have an idea why am I getting this? Am I using the function arguments right?

Regards,
Miloš.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top