David Gewirtz wrote: > Thanks! So, being completely naïve, a wrapper's a chunk of C code, right? > It's not some kind of scripty interface into SQLite? So would the docs > really be the SQLite API, but with calls from the host language to the > SQLite API?
The wrapper is whatever you need it to be. For instance the Delphi wrapper is Delphi code. Some of that code is a straight import of the DLL's API, another unit is an object that encapsulates the API. My own wrapper is a C++ object that simplifies access to fields and parameters and iteration through a result set. The PHP wrapper is C code that creates PHP functions to access SQLite. I would suggest at this point that before starting to write a wrapper you figure out what you need from that wrapper. I don't know the details of your language or application so I can't really advise you on specifics. What you need to do instead is work out what you need to use SQLite from your app and go from there. Clay Dowling -- CeaMuS http://www.ceamus.com Simple Content Management