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 <mysf...@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-le...@python.org
> https://mail.python.org/mailman3/lists/pythonnet.python.org/
> Member address: slide.o....@gmail.com
>


-- 
Website: http://earl-of-code.com
_______________________________________________
PythonNet mailing list -- pythonnet@python.org
To unsubscribe send an email to pythonnet-le...@python.org
https://mail.python.org/mailman3/lists/pythonnet.python.org/
Member address: arch...@mail-archive.com

Reply via email to