Switched to an enumeration to list the various error codes, rather than #defines in dll.hpp