c# - Calling DLL from Python 3.4 -


i had dll written in c. c# application, wrote .cs wrapper worked in calling dll functions..

now have c# dll , need call functions using python 3.4 (loadlibrary). preferred route of doing this

1) convert c# dll code c , make new c-style dll (with exports).
2) create kind of wrapper in python allows see c# dll functions as-is? ( if possible) 3) both python .net , ironpython don't seem actively maintained anymore (the windows installer shows python 2.7). there better alternative?

take @ question on stack overflow.it tells how use ctypes.it describes ctypes.windll command including required dll.you can set prototype , parameters desired function call using ctypes.winfunctype.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -