Hello,

OS: Windows XP SP2
Directory: D:\Program Files\Tcl
Path has D:\Program Files\Tcl in it.
Tcl: Tcl/Tk 8.3 for Windows, Binary Distribution
Sqlite: sqlite 3.1
tclsqlite: tclsqlite-3.1

tclsqlite3.dll is in D:\Program Files\Tcl\lib\tclsqlite

I have the following piece of code:

load tclsqlite
sqlite3 db test.db
db eval {CREATE TABLE t1(a,b,c)}
db eval {INSERT INTO t1 VALUES(1,2,3)}
db eval {INSERT INTO t1 VALUES('hello',NULL,'world)}
db close

and get the following error:

couldn't load library "tclsqlite": this library or a dependent library
could not be found in library path while executing
"load tclsqlite3"
(file "D:\Program Files\Tcl\examples\sqlite.tcl" line)


I try load tclsqlite3.dll Sqlite3 ... and get a slightly different version:

couldn't load library "tclsqlite3.dll": this library or a dependent
library could not be found in library path while executing
"load tclsqlite3.dll Sqlite3"
(file "D:\Program Files\Tcl\examples\sqlite.tcl" line)


I place tclsqlite3.dll in C:\Windows where I know it will be seen and and try:

load tclsqlite

... no change to error.

I try:

load tclsqlite3.dll sqlite3 and get:

"Wish Application has encountered a problem and needs to close."
Pressing "Debug" and I get:

"Unhandled exception in wish83.exe (TCLSQLITE3.DLL): 0xC0000005: Access
Violation"

There are 9 entries on the sqlite user list referencing tclsqlite3.dll which I have checked/tried. No success. (The fact there is only 9 entries means, I suspect, I am doing something fundamentally wrong.

TIA,
**************************
Peter Brown
Beasley Food Service, Inc.
**************************



Reply via email to