> Have you tried to pass the structure by reference?
>
> dso_lib.port_init(byref(init_data))
>
> Thomas
>

That gives me another exeption:

    print dso_lib.port_init(byref(init_data))
ValueError: Procedure called with not enough arguments (4 bytes missing) or 
wrong calling convention

Noralf. 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to