Hi Kenny - take a look at the unit tests at: http://pythonnet.svn.sourceforge.net/viewvc/pythonnet/trunk/pythonnet/src/tests/test_method.py?revision=140&view=markup
There are few tests there that demonstrate out and ref params. Short answer is that methods that return void and take an out param will return the out param. Methods that return a value and take out params return a tuple of the form (retval, outparam1, outparam2...). - Brian On Fri, May 18, 2012 at 5:33 PM, Kenny Koller <kenny_kol...@bio-rad.com>wrote: > Hi Everyone, > > I'm continuing my work with the MCC USB-Quad08. So importing the > DLL/assembly was pretty straight forward (it's pretty much the same as > IronPython). But how do pass arguments by reference? > > For instance I want to call this method: > > public MccDaq.ErrorInfo <http://../../Classes/ErrorInfo_Class.htm> CIn(int > counterNum, out ushort count) > > > Thanks, > > Kenny > > _________________________________________________ > Python.NET mailing list - PythonDotNet@python.org > http://mail.python.org/mailman/listinfo/pythondotnet > -- Brian Lloyd brian.d.ll...@gmail.com (c) 540.845.2975
_________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet