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:50 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:27 AM
The break is because of the new ODBC. I will look into fixing this.
mhwlng
October 8th, 2006, 10:31 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:38 PM
that works ok, thanks...
Marcel
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.