two...@gmail.com wrote:
> I only use tcl/tk from tclkits. Lately, I've been using a tclkit (or
> starkit?) created with twapi built in.
What version of Tcl does it contain.
> So, I don't really know how to set it up to use the package command.
>
> I found a sqlite .dll (32bit) for windows. When I do a load command,
>
>>cd ....path to where the .dll is....
>
>>load sqlite3.dll sqlite3
> cannot find symbol "Sqlite3_Init"
>
> Any idea how to get this to work? The zip file I downloaded also had
> a file sqlite3.def, but I don't know what to do with that.
No, not for this specific dll file.
But, if your Tclkit is Tcl 8.6+, unless the builder went out of their
way it should have sqlite built in.
Try "package require sqlite3" at a Tcl REPL prompt from the tclkit (if
it is 8.6+).
If your kit is less than version 8.6, then I'd suggest upgrading to a
kit that is version 8.6 and see if sqlite is already there.