PDA

View Full Version : odbc doesn't work anymore ?


mhwlng
September 30th, 2006, 06:12 AM
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

Promixis
September 30th, 2006, 09:46 AM
We are using the latest release of luacompat. I am guessing that is the problem.

see www.keplerproject.org

mhwlng
September 30th, 2006, 10:23 AM
I've been experimenting with 'module' but I can't make it work...

Marcel

mhwlng
October 8th, 2006, 04:49 AM
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

Ron
October 8th, 2006, 10:26 AM
The break is because of the new ODBC. I will look into fixing this.

mhwlng
October 8th, 2006, 10:30 AM
thanks ron ;)

Marcel

Ron
October 8th, 2006, 10:36 AM
Your welcome and I ment to say:

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

- Ron

Ron
October 8th, 2006, 01:22 PM
rename odbc.dll to luasqlodbc.dll
then use

require('luasqlodbc')

mhwlng
October 8th, 2006, 01:37 PM
that works ok, thanks...

Marcel