well yeah. you need ctypes.CString.
small fix on CString