On 5/5/16, Bhagwat Balshetwar <bhagwat.balshetwar at gmail.com> wrote:
> Hello Richard,
>
> Thanks for your help.
>
> https://www.sqlite.org/src/artifact/a68d25c659bd2d89
> I copy the content of above URL As C code in newfunction.c and perform the
> following action,
>
> 1) gcc -shared -Isqlite3 -o newfunction.sqlext newfunction.c (using MinGW
> for compilation)

I'm guessing that Windows requires the output file to be named with
".dll".  See also: https://www.sqlite.org/loadext.html#build

>
> 2) .load newfunction.sqlext (on SQLite commandline)
>
> But I am getting "Error: The specified procedure could not be found."
> error.
> I searched a lot on google about above error but did not get any
> proper solution.
>
> Can u guide me to resolve this issue.
>
> Thanks in advance.
>
> - Bhagwat
>
>
> On Wed, May 4, 2016 at 6:22 PM, Richard Hipp <drh at sqlite.org> wrote:
>
>> On 5/4/16, Bhagwat Balshetwar <bhagwat.balshetwar at gmail.com> wrote:
>> > I want to write the custom function for regular expression using C/C++.
>>
>> You mean like this one:
>> https://www.sqlite.org/src/artifact/a68d25c659bd2d89
>>
>> --
>> D. Richard Hipp
>> drh at sqlite.org
>> _______________________________________________
>> sqlite-users mailing list
>> sqlite-users at mailinglists.sqlite.org
>> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>


-- 
D. Richard Hipp
drh at sqlite.org

Reply via email to