The requirement is that we use the odoo erp under windows and we have a module allowing communication with the timers and which uses the sdk of the manufacturer. We want to migrate to linux, everything goes well except this module we have developed ourselves
*Brahim EL ALLIOUI* *General Manager* belalli...@e-acta.com Skype : belallioui Tel : +212535749410 Mobile : +212661940077 www.e-acta.com www.actaERP.com 2017-03-23 15:32 GMT+00:00 Preston Landers <pland...@gmail.com>: > I wouldn't say it's 100% impossible - there is a thing called Mono which > allows, subject to numerous limitations, running some .NET code on Linux. > > However it certainly wouldn't be the easiest path to take. I guess the > question is why do you feel the need to run this code under Linux. > > It would be much easier to run the code on Windows, whether under a > virtual machine inside a Linux host or on a separate host. And then write > some bridge code - a network server or some other kind of communication > channel - to communicate between the Linux process and the Windows one. It > all begs the question of why you want to do this under Linux and what the > real requirements are. > > > > On Thu, Mar 23, 2017 at 10:19 AM Brahim EL ALLIOUI <belalli...@gmail.com> > wrote: > >> Thank you for the answer >> >> My goal is to interface a C# dll with python >> At win32com.client I use just Dispatch and pythoncom, I think there is >> probably an equivalent of these two components >> >> Is there a way to use a C# dll via python on Linux? >> >> I found in the net pypiwin32 but I can not install it and I do not know >> is what it will meet my need or not >> >> >> *Brahim EL ALLIOUI* >> *General Manager* >> belalli...@e-acta.com >> Skype : belallioui >> Tel : +212535749410 <+212%205357-49410> >> Mobile : +212661940077 <+212%20661-940077> >> www.e-acta.com >> www.actaERP.com >> >> >> 2017-03-23 14:06 GMT+00:00 Preston Landers <pland...@gmail.com>: >> >> Python-Win32 is code that works with "Win32" aka Microsoft Windows. >> >> Debian is a distribution of Linux, which is a completely different system >> that is not compatible with Win32 code. >> >> The only thing to be done in Debian is install a virtual machine with >> Windows inside. >> >> >> On Thu, Mar 23, 2017 at 8:44 AM Brahim EL ALLIOUI <belalli...@gmail.com> >> wrote: >> >> Hello, >> >> I use win32com.client to integrate a C # dll under python. This works >> well under windows >> >> From win32com.client import Dispatch, pythoncom >> From ctypes import cdll >> Mydll = cdll.LoadLibrary (spath) >> Pythoncom.CoInitialize () >> Zk = Dispatch ("zkemkeeper.ZKEM") >> >> But do not works under unix >> >> What should you do at the Debian level? >> Thank you >> >> *Brahim EL ALLIOUI* >> *General Manager* >> belalli...@e-acta.com >> Skype : belallioui >> Tel : +212535749410 <+212%205357-49410> >> Mobile : +212661940077 <+212%20661-940077> >> www.e-acta.com >> www.actaERP.com >> >> _______________________________________________ >> python-win32 mailing list >> python-win32@python.org >> https://mail.python.org/mailman/listinfo/python-win32 >> >> >>
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32