[General] changed all pointers to check against nullptr instead of NULL changed error handling to use exceptions.
[General]
changed all pointers to check against nullptr instead of NULL
changed error handling to use exceptions.

twig/dcxdll,twig/dcxdll,twig/dcxdll,twig/dcxdll,twig/dcxdll