Update dll_ctypes.py

1.the meanning of hashtable_lengh 
2.add option exception hanle logic