Call dll function works in IronPython, doesn't work in CPython3.4 gives “No method matches given arguments” error
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: Public Sub AdviseStart(ByVal item As Integer, ByVal a As Action(Of Object)) Implements IConversation.AdviseStart _parameterPoller.RegisterCallback(item, a) End Sub This is the code that I have written in python to call this function: import clr clr.AddReference('dll name')