On 5/24/06, Robert Simpson <[EMAIL PROTECTED]> wrote:
Actually your only option using Finisar (aside from recompiling sqlite) is
to write all the functions in C/C++ in a separate DLL, and then modify
Finisar to call some main exported function in that DLL, passing in a
sqlite3 * object every time it creates one.  That main function would then
register all the sqlite3 functions on the connection.

You can't write sqlite3 userdef functions in .NET 1.1 without modifying the
core sqlite3 codebase, since .NET 1.1 doesn't support cdecl callbacks
without modifying the generated MSIL and changing the signature of the
delegate manually.

Flip that around and it's easier.
Write a dll that loads finisar then registers the new functions.
You don't have to modify anyone else's code that way.

Reply via email to