Your return value (1949630464 decimal) is 74350000 hex. Are you certain you don't need to only look at the low 16 bits? If so, you got a successful return.
I'm just tossing out an idea; I'm not familiar with the module you're using.
Exactly. Googling for SQLAllocHandle 1949630464 has as one of the few hits this page, where somebody tackled the same problem with Common Lisp (it seems). If one encounters a magic number, it's always good to Google for that.