defined _WIN32_WINNT as 0x500, but not sure is
> it correct, and will my application works if it will be launched under
> Windows 9X.
>
This is the correct fix. Also, most modern Windows projects already
have the _WIN32_WINNT define set to something (e.g. 0x400, 0
d only reside in the same directory as
the application itself); however, this can be difficult, depending on how
the application was written.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Steffen Mangold wrote:
>
> "The Skip(n) method is not optimally transformed into SQL. Consider the
following
> LINQ expression:
>
If I'm understanding your issue correctly, it should be fixed as of
2011-07-09:
https://system.data.sqlite.org/index.html/info/76e929f694
>
> is there a dll can be used on both system?
>
Not really. Different native code is required for 32-bit and 64-bit
processes.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman
H K wrote:
>
> Sorry but the file has a content table but no contents.
> Am I doing something wrong with the chm?
> Thx
>
You may need to right-click the file in Windows Explorer, go to
"Properties",
and then click on "Unblock" in order to make i
>
> I think I want to download and get started.
>
Great.
>
> My direct e-mail is j...@xexam.net
>
CC'd on this message.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
contains the same managed code; however, the contained
SQLite
core native code has been compiled for x64.
https://nuget.org/packages/System.Data.SQLite.MSIL
Finally, the last one (above) contains ONLY the managed code and must be
used in
conjunction with a "SQLite.Interop.dll" for the
H K wrote:
>
> Is it possible to load these functions with the load_extension function?
>
Please take a look at the SQLiteFunction help topic in the
System.Data.SQLite CHM file,
here:
http://system.data.sqlite.org/index.html/artifact?filename=Doc/SQLite.NET.ch
m=tip
--
Joe M
ou could execute the
sqlite3.exe file as an external process, passing it the necessary arguments.
For more information on the shell, please see:
http://www.sqlite.org/sqlite.html
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlit
Yves Goergen wrote:
>
> So, where could I have found that information if not here?
>
Good point, I'll add that command line to the "Build Procedures" page on the
web site.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-us
wrong place. Is
> it possible that you could forward me the files?
>
The source code is here:
https://system.data.sqlite.org/index.html/finfo?name=tools/install/Installer
.cs
It is also included in the released source code archive; however, the b
or
2010 if you want .NET 4.0.
3. Change the current directory to the root of the System.Data.SQLite source
code tree.
4. Execute the following command, where [year] is either 2008 or 2010:
MSBuild.exe System.Data.SQLite\System.Data.SQLite.[year].csproj
/t:Rebuild /p:Configuration=R
Studio designer components) as part of build
78
(i.e. the next release).
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
(sqlite-users at sqlite.org) if you
encounter any problems with this release.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
taining the pre-compiled binaries you need.
In your case, it sounds like you will want to download the x86 mixed-mode
assembly compiled statically against the .NET Framework 3.5, available
here:
https://system.data.sqlite.org/sqlite-netFx35-static-binary-bundle-W
's near the bottom of the download page):
https://system.data.sqlite.org/sqlite-netFx35-binary-PocketPC-2008-1.0.76.0.
zip
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Reading your code quickly, it seems the problem may be related to the use
of single-quotes (') around the passwords in the connection string. Please
remove all the single-quotes and try again.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite
omer does not.
>
> How do I get the interop?
>
With the "bundle" packages, you do not need it because the native SQLite
code is
compiled into the System.Data.SQLite.dll assembly itself.
--
Joe Mistachkin
___
sqlite-users mailing list
, which contains both the native and managed code required for using
SQLite
(i.e. it is more suitable for GAC'ing without having to alter the system
PATH, etc).
--
Joe Mistachkin <j...@mistachkin.com>
___
sqlite-users mailing list
sqlite-users@sqlite.org
Farhan Husain wrote:
>
> Aah, ok. So, for all the methods that act on the database I should
explicitly add
> conn.Close() within the using conn scope?
>
Well, I'm not familiar with your specific project; however, that does not
sound like
a bad idea.
--
Jo
One thing that could be a potential issue here is that all connections must
be closed
prior to changing the password on the database [except the connection used
for the
ChangePassword method call itself].
--
Joe Mistachkin
___
sqlite-users mailing
nreadable using the updated or previous password.
>
I've added some more unit tests to the test suite to verify that this
feature works
as documented and I'm not seeing any issues. Could you post some simplified
C# code
that demonstrates the behavior you are seeing?
ll the SetPassword
method
on that connection object (or supply the password as plain-text in the
connection
string)?
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
will be present in the:
\bin\\\Static
directory, where year is 2008 or 2010, platform is Win32 or x64, and
config is Release or Debug.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
thing that the installation does, which the uninstall
> doesn't undo, that you have to do in order to get System.Data.SQLite
> working. The question is what, and how can you do it without having to
> run the installation?
>
The setup attempts to undo everything that it does, including t
error code returned from the native core SQLite library. In the
case you mention, the exception is technically correct even though
it may seem counterintuitive at first glance.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http:
F project in
C# or VB.NET code.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
llow the guidelines outlined in the above
linked
MSDN documentation. However, using the bundled version may be a lot easier
in
your case, especially since you already have separate directories for 32-bit
and 64-bit.
--
Joe Mistachkin
___
sqlite-users mailing
ssage you are seeing.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
(sqlite-users at sqlite.org) if you
encounter any problems with this release.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
(sqlite-users at sqlite.org) if you
encounter any problems with this release.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Your list does not seem to include the ICU DLLs that I mentioned, including:
icuuc48.dll
icuin48.dll
The necessary ICU files can be obtained from the official web site:
http://site.icu-project.org/
--
Joe Mistachkin
___
sqlite-users mailing list
.cs:line 131
>
Please make sure the necessary ICU DLLs are located in the same directory as
the SQLite.Interop.dll OR somewhere along your PATH and the problem should
go away.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlit
Wamiduku wrote:
>
> Are there any plans to also provide the stable version as a NuGet package?
>
Yes.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
technically 1.0.75.0
beta.
The NuGet package is not necessarily going to be the 'preferred' way of
distributing the bits in the future; however, it will be one way to get
them.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sql
wise, you'll simply get a BadImageFormatException when the managed
process (which will actually start as a 64-bit process) tries to load a
32-bit SQLite.Interop.dll.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
rivial complexity.
For
now, MSBuild and Visual Studio are the only fully supported build
environments.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
The issue you are seeing is detailed here:
http://www.mail-archive.com/sqlite-users@sqlite.org/msg62336.html
It has already been fixed in the source tree and the fix will be in the next
release.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite
ctionScope transaction = new TransactionScope())
{
context.Connection.Open(); // try adding this line.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
ed.
The test case verifies that all 10 rows that should be added are in fact
added. It also
verifies that the appropriate exception is raised for the PRIMARY KEY
constraint violation.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
ng any error
will be
added to the database. Any rows that fail constraints will not be added.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
\Release\bin
14. Copy the "SQLite.Interop.dll", "System.Data.SQLite.dll", and
"System.Data.SQLite.Linq.dll" files into your application directory.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
ht
ll the binaries should be in the following directory:
C:\dev\sqlite\dotnet\bin\2010\Release\bin
12. Copy the "SQLite.Interop.dll", "System.Data.SQLite.dll", and
"System.Data.SQLite.Linq.dll" files into your application directory.
--
Joe Mistachkin
in Fossil. If you
need information on checking out or building the System.Data.SQLite
source code, please let me know and I will send complete step-by-step
instructions.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
, reader[0]);
}
}
finally
{
reader.Close();
}
Please note that even the above code will show some overhead associated with
using SQLite from managed code; however, it will be less than the original
code.
--
Joe Mistachkin
___
sq
>
> Just wondering when the next release of System.Data.SQLite will be
> available.
>
My current plan is to produce a release before the 15th of September.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http:
t;testlinq" assembly while the
> actual documentation for "System.Data.SQLite" is missing.
>
This issue was recently fixed (Aug 9th) and will be included in the
1.0.75.0 packages when they are released. For details of the fix, see
check-in:
http://system.data.sqlite.org/inde
fficult to say as it depends on the what your use cases are.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
ell.com/show_bug.cgi?id=636915
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
FoundException: SQLite.Interop.DLL.
>
I seem to recall that the LD_LIBRARY_PATH may need to be modified to
actually
look in the bin folder for the application? I could be wrong here because I
am not an expert on Mono.
--
Joe Mistachkin
___
s
ame
application on 32-bit Windows, it will run as a 32-bit process. A 64-bit
process cannot load a 32-bit DLL.
Therefore, the "test.exe" program starts as a 64-bit process and then
attempts to load the 32-bit "SQLite.Interop.dll", which raises the
BadImageFormatException.
-
> Isn't it odd that I cannot just add it as a ref?
>
No, it's not odd, it's a pure native DLL. Adding a reference requires the
DLL to be a managed assembly.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
"System.Data.SQLite"
assembly instead.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
. This existing instance of the DbLogger class no longer has a valid
connection because it was previously closed (and set to null).
6. Newly created commands will not have a valid connection.
7. Attempting to execute a command without a valid connection will
result in the exception you are seeing.
--
Joe
ngs;
however, it
might be best to temporarily use the legacy version of the
System.Data.SQLite assembly
if you require the VS designer components (if the VS2010 SP1 issue can be
figured out).
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
he
project file "SQLite.Interop.2010.vcxproj" is incorrect:
$(IntDir)System.Data.SQLite.%(Filename).resources
It should read:
System.Data.SQLite.%(Filename).resources
This issue has been fixed in:
http://system.data.sqlite.org/index.html/ci/55f56ce508
Th
I do not see anything obviously wrong with using the same connection
to construct two or more LINQ data contexts; however, my knowledge of
LINQ and its use of threads is somewhat limited.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users
ds
or just the underlying database connection?
The SQLiteDataReader class is not thread-safe and should not be shared
between
threads.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
(sqlite-users at sqlite.org) if you
encounter any problems with this release.
--
Joe Mistachkin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
601 - 659 of 659 matches
Mail list logo