C# Code
Code: Alles auswählen
di = new myDll.daveInterface(0, "IF1", 0, 1, 1)
di.setTimeout(5)
Ich habe das mal in Python umgeschrieben:
Code: Alles auswählen
myDll = ctypes.windll.LoadLibrary('../dll/libnodave.dll')
di = myDll.daveNewInterface(0, "IF1", 0, 1, 1)
di.setTimeout(5)
Wie bekomme ich mit ctypes das richtige Objekt zurück?
Habe bei Google und in allen möglichen Foren leider nichts gefunden.