Community mailing list archives

community@mail.odoo.com

Re: Call a C# dll from python

by
CAYLEY CONSULTING, Omar OUHARI
- 11/22/2015 06:12:25
Hi Stephane,

In reality it's about Odoo. I try to communicate my odoo module with
zkteco device using a C# dll (fin it in attachment). I try
python_zklib but it present some limitations (can't set user
cardnumber nither set user with uid > 255). In fact, I want to load
the c# dll in odoo module and use it functions (Connect_Net,
SetStrCardNumber, SSR_SetUserInfo).

Regards.

On Nov 22, 2015 10:53 AM, "Stephane Wirtel"
<stephane+odoocommunity@wirtel.be> wrote:
>
> Your question is more general and not specific to Odoo.
>
> In fact, your dll, the symbols can be exported to the C conventions?
>
> Firstly, try to load your library with libffi.
>
> Stephane
>
> On 11/22, Omar Ouhari wrote:
> > Hello communauty,
> > I have to call a C# dll from code python and use it functions.
> > How can I do this ?
> > Regards.
> >
> > _______________________________________________
> > Mailing-List: https://www.odoo.com/groups/community-59
> > Post to: mailto:community@mail.odoo.com
> > Unsubscribe: https://www.odoo.com/groups?unsubscribe
> >
>
>
> --
> Stéphane Wirtel - http://wirtel.be - @matrixise
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe