This is my build of the Mono .Net provider. Note that to run Test.exe you need both the .Net Framework installed and also the Sqlite DLL (see http://www.sqlite.org).

You can find the original source at http://www.go-mono.com. However this build has been tweaked to fix the problems with the Cdecl callback. I also made the following modifications:

Added the Cdecl attribute to the PInvoke declarations:
[DllImport("sqlite", CallingConvention = CallingConvention.Cdecl)]

Changed the declaration of the callback function to this:

internal unsafe int SqliteCallback (IntPtr o, int argc, sbyte **argv, sbyte **colnames)

Changed the SqliteCommand.ExecuteReader method so that the callback delegate is a class variable rather than local to the method.

I'm Tim Anderson - tim@itwriting.com. See my website http://www.itwriting.com, which includes some notes on working with Sqlite.

The author of the Mono .Net provider for Sqlite is Vladimir Vukicevic  <vladimir@pobox.com>

I understand that the Mono class libraries are covered by the MIT license, so here it is:

The MIT License
Copyright (c) 2002 Vladimir Vukicevic

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
