On Aug 7, 12:46 pm, Martin Landa <landa.mar... at gmail.com> wrote: > the problem occurs when restype is not None, but c_int. E.g. solved. Martin