![](https://secure.gravatar.com/avatar/c1d5a49b51f1aa3df7aa8ee8fad45aca.jpg?s=120&d=mm&r=g)
I'm not sure, I've had to pass dummy arguments in pretty much every call I have. On Mon, Aug 16, 2021 at 9:44 AM <mysfeir@gmail.com> wrote:
I am using pythonnet version 2.5.2. Slide - your suggestion does fix the problem, thanks. The following code works:
from System import UInt32, Int32 from System import Double result, response, errString = ESP301Device.SR_Get(Int32(1),Double(0.),"")
I think I misread the documentation, which says that calling dummy arguments was necessary with a void method. Is this correct? Otherwise the dummy arguments must always be provided? Thanks again to all for the feedback.
Matt _______________________________________________ PythonNet mailing list -- pythonnet@python.org To unsubscribe send an email to pythonnet-leave@python.org https://mail.python.org/mailman3/lists/pythonnet.python.org/ Member address: slide.o.mix@gmail.com
-- Website: http://earl-of-code.com