Re: Using SQlite in c#

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




It's possible but it's not quite as easy as combining a bunch of C#
projects into one dll (which can be done by dynamically building a new
large project file and then compiling).

The System.Data.SQLite wrapper is made into one dll through a mergebin
utility that is included and marges two dll's after they're compiled.
You'd have to use this utility to merge the native SQLite part into
your dll (which must already contain the C# wrapper portion). It may
be as simple as calling mergebin with the right params, or mergebin
may not work correctly in this scenario. Note that mergebin is made
specifically for SQLite by the SQLite .net developer.

Other programs that use SQLite without a dll most likely are not using
..NET but are using native SQLite which is easily statically linked
into a C application.

HTH,

Sam

------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.



On Tue, 4 Dec 2007 09:44:13 -0600, "Rob Stevens"

Thanks for the response everyone. I have another question.
Since the source is freely available for the sqlite library, is
there any way to compile it into your c# program without using
the dll file? I have seen a few pocket pc programs that use
the sqlite library, but the dll is no where to be found. So I am
wondering if this could be done on the windows side too.

My end result is to write a program for both the pocket pc and
windows. This way I can use the data file on either of the
systems.


Rob


.



Relevant Pages

  • Re: Ann: dhRichClient3-Toolset
    ... Set PictureBox.Picture = Nothing ... Mein Modul funktioniert übrigens nun da ich auch noch die SQLite dll "preloade". ...
    (microsoft.public.de.vb)
  • Re: SQLite und VB.Net
    ... Enrico ... > ich möchte mal SQLite im Zusammenhang mit Visual Basic.Net testen. ... > eine Datenbank geöffnet werden soll, ... > Bei dem Package war auch eine DLL dabei, ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Re: SQLite + VB.Net
    ... Enrico ... > ich möchte mal SQLite im Zusammenhang mit Visual Basic.Net testen. ... > eine Datenbank geöffnet werden soll, ... > Bei dem Package war auch eine DLL dabei, ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)
  • TclApp | DLL | CGI - permissions?
    ... I have a wrapped TclApp CGI program that uses SQLite, ... I've found that the failure is caused by the ... DLL file is handled by a wrapped application. ...
    (comp.lang.tcl)
  • Re: C# .lib?
    ... The way to do this in .NET is to give the developer the compiled dll. ... Windows Embedded MVP ... > and C++ header file to compile with, ...
    (microsoft.public.pocketpc.developer)