Yes I am trying to create a dll so that I can add it as reference in my
project. Is there any way to do that?



On Fri, Jul 20, 2018 at 11:05 AM, Keith Medcalf <kmedc...@dessus.com> wrote:

>
> Firstly, the SQLITE_DLL define does not exist (is this a bug in the docs>?
> Secondly you did not define SQLITE_HAS_CODEC as required to integrate the
> SEE codec/
> Thirdly a .dll file cannot be created with ar.  ar is for creating
> libraries, not DLLs. (.a files)
>
> To statically link you should just add the see_sqlite3.c file to your
> project making sure you define SQLITE_HAS_CODEC
>
> Or do you really want a dynamically linked DLL?
>
> ---
> The fact that there's a Highway to Hell but only a Stairway to Heaven says
> a lot about anticipated traffic volume.
>
>
> >-----Original Message-----
> >From: sqlite-users [mailto:sqlite-users-
> >boun...@mailinglists.sqlite.org] On Behalf Of sudeep singh
> >Sent: Friday, 20 July, 2018 11:52
> >To: sqlite-users@mailinglists.sqlite.org
> >Subject: [sqlite] Issue using SEE
> >
> >Hi Team,
> >
> >We have recently purchased SEE subscription to encrypt our data in
> >mobile.
> >Our application supports iOS, android and windows(UWP).  We used
> >Xamarin
> >forms(.net standard2) approach to build this application which
> >supports c#
> >language. We are following this link
> >https://www.sqlite.org/see/doc/trunk/www/readme.wiki where they have
> >guided
> >how to compile and use SEE.
> >
> >Basically we are trying to use this SQLITE as a dll and to do so we
> >ran
> >below command in mac
> >
> >    cat sqlite3.c see.c >see-sqlite3.c
> >
> >    gcc -c -DSQLITE_DLL=1 see-sqlite3.c
> >
> >    ar a see-sqlite3.dll see-sqlite3.o
> >
> >
> >
> >
> >
> >This generates “see-sqlite3.dll” but for some reason when I am trying
> >to
> >add this dll as a reference its throwing error "see-sqlite3.dll is
> >not a
> >valid .Net assembly ".
> >
> >Any help will be really appreciated.
> >_______________________________________________
> >sqlite-users mailing list
> >sqlite-users@mailinglists.sqlite.org
> >http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
>
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to