ummm...
I did not try the alternative with ctypes.
This works for me.