Greetings.
I seem unable to send commands to sqlite3.dll, whether by hand or with
the "data/sqlite" package. Both return domain errors on cd.
My attempt:
load 'dll'
cdm=: 1 : '(dll,m)&cd'
dll =: '"c:\sqlite3.dll"'
sqlite3_open =: 'sqlite3_open + i *c *x' cdm
sqlite3_open 'c:\mydb.s3db';,_1
|domain error: cd
| sqlite3_open'c:\mydb.s3db';,_1
And "data/sqlite" (acquired from the Package Manager)
load 'data\sqlite'
db =: 'psqlite'conew~ 'c:\mydb.s3db'
|domain error: cd
| r=. sqlite_open y;c1=.,_1
Using SQLite3.6.10 (for my attempt), J602a 64bits, Windows Vista 64
bits. I have read and write rights on the database and the dll.
Thank you for any assistance.
Martin Pelletier
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm