See the 1.6.5 version now in the CR. I added the extended code in the Error Description, after the standard error description. So SQLITE_CANTOPEN(nnn), with nnn the full code, which you can lookup at http://www.sqlite.org/rescode.html. At some point, I’ll implement the Extended Error names, but I don’t have time now.
You *can* use DETT on built applications, just enable VI server access and debugging in the build. Here is a description of it:
http://digital.ni.com/public.nsf/allkb/A50A8BBFD737679186257D7700688757