On 07/07/2012 17:28, Joe Mistachkin wrote:
Dave Edwards wrote:
For Linux I have recompiled the managed only dll from the .081 source
using: build.bat ReleaseManagedOnly (so no need for the interlop.dll to
be placed in the root folder)
And I have had to mod the built.bat so it runs:
%_AECHO% Forcing the use of the .NET Framework 2.0...
SET YEAR=2005
SET FRAMEWORKDIR=%windir%\Microsoft.NET\Framework\v2.0.50727
GOTO skip_netFxCheck
Compiling the managed-only assembly for Mono requires some special
compilation options, as documented here:
https://system.data.sqlite.org/index.html/doc/trunk/www/build.wiki#mono
Basically, you'll just need to add the following line to your custom batch
file (prior to building):
SET MSBUILD_ARGS=/property:UseInteropDll=false
/property:UseSqliteStandard=true
Another note; .isdisposed not in the sqlite.connection ? Testing for "is
nothing" does not pick up that it "is disposed but not nothing"
Since a SQLiteConnection object is supposed to be used by only one thread,
there is normally no reason to test if the connection is disposed because
that thread should already know.
Hi Joe
Many thanks, this is now compiled and my app can connect to an SQLite
database in Linux.
Still exactly the same issue though in Linux , around 300 rows imported
and it falls over. I wonder if it is thread related then? If it is then
I will have remove support on Linux as the app is multi-threaded and as
far as I was concerned thread safe (never errors).
I will try a few tests with only 1 thread allowed and let you know.
Cheers
--
..........................
Dave Edwards (G7RAU)
email:
d...@g7rau.co.uk
Web:
http://g7rau.demon.co.uk/
..........................
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users