I just noticed the load_extension(x) core function that seems like it would
solve this problem since I can name the library file to be loaded.
Pete

On Thu, Feb 16, 2012 at 9:00 AM, <[email protected]> wrote:

> Message: 1
> Date: Wed, 15 Feb 2012 09:38:43 -0800
> From: Pete <[email protected]>
> To: [email protected]
> Subject: Re: [sqlite] Incorporating user written functions into the
>        sqlite  library
> Message-ID:
>        <cabx6j9nnnuxcsenmudsv1ssjbw+ckuuatwpuurkd9q1jtog...@mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks.  I'll check on that but I'm not optimistic.
> Pete
>
> On Wed, Feb 15, 2012 at 9:00 AM, <[email protected]> wrote:
>
> > Message: 7
> > Date: Tue, 14 Feb 2012 19:16:33 +0100
> > From: Stephan Beal <[email protected]>
> > To: General Discussion of SQLite Database <[email protected]>
> > Subject: Re: [sqlite] Incorporating user written functions into the
> >        sqlite  library
> > Message-ID:
> >        <CAKd4nAhH3BLSQ57hAXhi1EN33q4b1rw9v0SjG=
> [email protected]
> > >
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > On Tue, Feb 14, 2012 at 7:10 PM, Pete <[email protected]> wrote:
> >
> > > the framework.   Any help on how to make these user written functions
> > > available to the sqlite3 library in the framework would be much
> > > appreciated.
> > >
> >
> > If your framework provides a function which returns the raw sqlite3
> handle
> > then you can use
> >
> > http://www.sqlite.org/capi3ref.html#sqlite3_create_function
> >
> > on that handle to register the functions (do this right after opening the
> > db if at all possible). If it does not provide such a handle then you're
> > out of luck :/.
>



-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to