That odbc.ijs will fail in true 64-bit because.
1. signiture of odbc api is incorrect for 64-bit odbc manager
2. window use LLP64 model while J use LP64 model
you have to clean up these issue before odbc.ijs can work under 64-bit.
However if you run 32-bit J and use 32-bit (wow64) odbc manager, then it should
work under xp64. AFAIK there are very very few 64-bit odbc drivers apart from
that for m$ sqlsvr. Which driver did you use?
Lettow, Kenneth wrote:
I've been trying to pull some data from an ODBC source and convert it to
mapped files via the script in this post:
http://www.nabble.com/forum/ViewPost.jtp?post=15710453&framed=y&skin=241
93.
When I run this script on a WinXP 32 machine it works perfectly.
When I run it on a Win XP 64 machine, I get a domain error (below).
ddbind sh
|domain error: memr
| ''$pa+ memr pa,0,1,4
I stepped through ODBC.ijs and found the offending line (#664).
ple=. 15!:6 <y NB. pointer to local entry
pa=. memr ple,4,1,4 NB. ptr to array
''$pa+memr pa,0,1,4 NB. plus offset to data
Can anyone suggest a way to get this script to run on 64 bit Windows?
Thanks in advance,
Ken
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm