title: Call dll function works in IronPython, doesn't work in CPython3.4 gives "No method matches given arguments" error
body: <p>For a project I need to include a DLL in Python. I'm using CPython3.4 and for including the dll I use pythonnet clr module (pythonnet-2.0.0.dev1-cp34-none-win_amd64.whl). In the dll I need a function that gives me a continuous update of a measurement. The dll is written in VB.net, the function that I need is shown below:</p>
  
  <pre><code>Public Sub AdviseStart(ByVal item As Integer, ByVal a As Action(Of Object)) Implements IConversation.AdviseStart
      _parameterPoller.RegisterCallback(item, a)
  End Sub
  </code></pre>
  
  <p>This is the code that I have written in python to call this function:</p>
  
  <pre><code>import clr
  clr.AddReference('dll name')
  from dll import SetupMonitor
  
  monitor = SetupMonitor(None, None, None)
  
  # call to the dll function
  # Everytime the measurement is changed the "test" function should be executed
  monitor.AdviseStart(8, test)
  
  def test(data):
      print("Value: " + str(data))   
  </code></pre>
  
  <p>For the sake of my further project I want to use Python3.4 and not Ironpython. 
  I tested this code in python3.4 and 2.7 and I got this error:</p>
  
  <pre><code>No method matches given arguments
  </code></pre>
  
  <p>I am 100% sure that the error is from the AdviseStart function. Because when I use the same code with IronPython it works. In Ironpython this codes gives the output I expect:</p>
  
  <pre><code>Value: -74
  </code></pre>
  
  <p>The goal of this function is that everytime a new measurement is made the function "test" will be called. Everything for the measurement and calling is in the dll. Is there anyway I can make this function work in any CPython version?</p>