Drago, William @ MWG - NARDAEAST wrote:
>
> The assembly loads, but I couldn't figure out how to use it.
>

Yeah, using types in an assembly via reflection is always a bit tricky.

>
> None of the SQLite classes are in SampleAssembly, just a handful of things
> that have nothing to do with SQLite. Please forgive my .NET ignorance; I
> don't have a lot of experience with it.
>

The classes are there; however, you would need to look them up manually
(e.g.
via Type.GetType, etc).

> 
> 2: This is all for naught anyway because when I transfer my program to the
> network the assembly won't load at all ("Unverifiable code failed policy
> check"). I'm not the only one with this problem:
> 

The solution #4 at the URL you included seems to be a method to work around
that particular issue.

>
> So, it looks like I'm stuck using the GAC and having to install SQLite in
> every computer that runs my software.
>

I think that using the native library pre-loading feature along with setting
some of the supported environment variables (or setting them via the
System.Data.SQLite.dll.config file) could also be made to work properly:

https://system.data.sqlite.org/index.html/artifact?ci=trunk&filename=Doc/Ext
ra/Provider/environment.html

Largely, it depends on the specifics of your environment, which I'm not
really
familiar with.

--
Joe Mistachkin

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to