User Tag List

Results 1 to 3 of 3

Thread: Sqlite library for Xlua

  1. #1
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,051
    Mentioned
    131 Post(s)
    Tagged
    3 Thread(s)

    Sqlite library for Xlua

    Hi Retriever2,
    I am trying to build a lib for xlua following your step inside your help but with no success.

    Can you tell me what am i doing wrong,

    Thanks in advance



    Attached files Attached files
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  2. #2
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sqlite library for Xlua

    It looks like you did almost everything correctly.

    It looks like the lsqlite author didn't bother testing their build in MSVC++, because it wasn't properly exposing the public register function.

    I had to change line 1858 to:
    extern __declspec(dllexport) int luaopen_lsqlite3(lua_State *L) {

    Second, I had to rename the DLL to lsqlite3.dll to match the function name (naming is very important).

    After those changes it works fine. Here is a version built for XLua: http://taloncrossing.com/xlua/xluacm-lsqlite3.zip

  3. #3
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,051
    Mentioned
    131 Post(s)
    Tagged
    3 Thread(s)

    Re: Sqlite library for Xlua

    Thanks Retriever2,

    Yes, it is working!!

    i tested here and it is very fast

    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. XLua
    By Retriever2 in forum Released Extensions
    Replies: 6
    Last Post: 13th August 2017, 07:42 PM
  2. SQLite Pro
    By nivram in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st October 2013, 08:56 PM
  3. Lua+ or xLua?
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th October 2009, 10:55 PM
  4. xLua Crash
    By Corentin in forum File Archive
    Replies: 0
    Last Post: 5th March 2009, 05:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •