Brahim EL ALLIOUI wrote:
>
> 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
Well
You can call into Mono from CPython on Linux and OSX using pythonnet:
https://github.com/pythonnet/pythonnet
On Thu, Mar 23, 2017, 10:32 AM Preston Landers wrote:
> I wouldn't say it's 100% impossible - there is a thing called Mono which
> allows, subject to numerous limitations, running some .
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*
Brahim EL ALLIOUI wrote:
>
> 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")
>
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
Are you running this under WINE?
On 22 March 2017 at 19:23, Brahim EL ALLIOUI 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 (
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