Re: Using SQlite in c#
- From: Samuel R. Neff <samuelneff@xxxxxxxxxx>
- Date: Fri, 07 Dec 2007 16:13:33 -0500
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
.
- References:
- Using SQlite in c#
- From: Rob Stevens
- Re: Using SQlite in c#
- From: Arne Vajhøj
- Re: Using SQlite in c#
- From: Rob Stevens
- Using SQlite in c#
- Prev by Date: Regex - POSIX v. .NET
- Next by Date: Re: Setting SmoothingMode.AntiAlias in a RichTextBox control
- Previous by thread: Re: Using SQlite in c#
- Next by thread: Re: Using SQlite in c#
- Index(es):
Relevant Pages
|