I have no answer for you (or rather, others here will have better 
answers), but I can tell you that this question did in fact come to the 
list yesterday.

Refer its headers:

    MIME-Version: 1.0
    X-Received: by 10.107.7.18 with SMTP id 18mr70069011ioh.69.1426350044763; 
Sat,
      14 Mar 2015 09:20:44 -0700 (PDT)
    Received: by 10.107.18.136 with HTTP; Sat, 14 Mar 2015 09:20:44 -0700 (PDT)
    Date: Sat, 14 Mar 2015 16:20:44 +0000
    Message-ID: <CABv7ExeB5at63vV4OtVdp_p0-Mh0j6xhuu=t-J4Sh=3iN8cyEw at 
mail.gmail.com>
    From: Bart Smissaert <bart.smissaert at gmail.com>
    To: General Discussion of SQLite Database
      <sqlite-users at mailinglists.sqlite.org>
    X-Content-Filtered-By: Mailman/MimeDel 2.1.14
    Subject: [sqlite] How to code this Std_Call?
    X-BeenThere: sqlite-users at mailinglists.sqlite.org
    X-Mailman-Version: 2.1.14
    Precedence: list
    Reply-To: General Discussion of SQLite Database
      <sqlite-users at mailinglists.sqlite.org>
    List-Id: General Discussion of SQLite Database
      <sqlite-users.mailinglists.sqlite.org>

    etc.



Maybe your spam filter does not like your own messages?



On 2015-03-15 03:17 PM, Bart Smissaert wrote:
> Been working with this project:
> https://sqliteforexcel.codeplex.com/
> and further enhanced that SQLite3_StdCall.dll with more SQLite functions.
> As said before I don't know C, but can work things out by looking at other
> functions.
> Now stuck though on a complex one, sqlite3_create_function.
>
> In the SQLite3_StdCall project, loaded in MS Visual Studio 2013 there is a
> file sqlite3.h, which has this:
>
> int sqlite3_create_function(
>    sqlite3 *db,
>    const char *zFunctionName,
>    int nArg,
>    int eTextRep,
>    void *pApp,
>    void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
>    void (*xStep)(sqlite3_context*,int,sqlite3_value**),
>    void (*xFinal)(sqlite3_context*)
> );
>
> Then there is the file SQLite3_StdCall.c, which should have something like
> this:
>
> SQLITE3_STDCALL_API int __stdcall sqlite3_create_function(
>   sqlite3 *pDb,
>   const char *zFunctionName,
>   int nArg,
>   int eTextRep,
>   void *pApp,
>   void(*xFunc)(sqlite3_context*, int, sqlite3_value**),
>   void(*xStep)(sqlite3_context*, int, sqlite3_value**),
>   void(*xFinal)(sqlite3_context*)
>   )
> {
>   return sqlite3_create_function(
>    pDb,
>    zFunctionName,
>    nArg,
>    eTextRep,
>    pApp,
>    xFunc,
>    xStep,
>    xFinal);
> }
>
> The problem is with the last 3 void arguments. I don't know how to code
> this in the return section.
> I know this is off-topic, but maybe somebody can shed some light on this.
>
>
> RBS
> _______________________________________________
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to