Results 1 to 9 of 9

Thread: odbc doesn't work anymore ?

  1. #1
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default odbc doesn't work anymore ?

    in G4, I use this :

    require("odbc", "luaopen_luasqlodbc" )

    In G5 this results in :

    ...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:127: error loading module `odbc' (The specified procedure could not be found.

    is there now a different notation ?

    Marcel

  2. #2
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    We are using the latest release of luacompat. I am guessing that is the problem.

    see www.keplerproject.org

  3. #3
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    I've been experimenting with 'module' but I can't make it work...

    Marcel

  4. #4
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    still no luck with build 401

    the sqlite example in demo.gml also doesn't work...

    without the odbc functionality, I have no way of testing G5 as it's an integral part of my gml file...

    Marcel

  5. #5
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    The break is because of the new ODBC. I will look into fixing this.
    Ron
    No support through PM

  6. #6
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    thanks ron

    Marcel

  7. #7
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    Your welcome and I ment to say:

    "The break is because of the new Lua Compat",.. ODBC is fine.

    - Ron
    Ron
    No support through PM

  8. #8
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    rename odbc.dll to luasqlodbc.dll
    then use

    require('luasqlodbc')
    Ron
    No support through PM

  9. #9
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    that works ok, thanks...

    Marcel

Posting Permissions

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