lexicalunit/nanodbc — pull request #6 by WimObiwan (2013-08-26 13:20:20+00:00)
Title: Added 64-bit support

The "long *" pointers (which specify whether or not parameter values are NULL) resulted in compiler errors when using x64 compilation on VC8. The odbc API expects a SQLLEN which is __int64 on x64 compilations.

To fix this, in nanodbc, I replaced the long with a new null_type that is long on 32-bit, and __int64 on 64-bit.