17 Mar 18:14
loading oratcl from starkit
From: sergioanis <aniss <at> wyeth.com>
Subject: loading oratcl from starkit
Newsgroups: gmane.comp.lang.tcl.starkit
Date: 2008-03-17 17:15:55 GMT
Subject: loading oratcl from starkit
Newsgroups: gmane.comp.lang.tcl.starkit
Date: 2008-03-17 17:15:55 GMT
hi everybody:
I'm having some problems loading oratcl from a starkit. I found a post from
G. Lester adviced to use the following script in the package index:
package ifneeded Oratcl 4.4 [ list OraLoad $dir ]
proc OraLoad { dir } {
global env
foreach file [ glob $dir/*.dll ] {
catch { file copy -force $file [ file join $env(TEMP) [ file tail $file ]
] }
}
catch { file copy -force $dir/msvcr70.dll [ file join [ file dirname [ info
nameofexecutable ]] msvcr70.dll ] }
load $env(TEMP)/oratcl44.dll
}
This works fine in some computers (running windows 2000), but fail in
anothers (windows 2000 and xp). The script fail when it try to load the
oratcl44.dll, the error message doesn't say why. I tried adding the
$env(TEMP)to the $env(PATH) without success.
I'd appreciate any suggestions you may have.
Thanks,
Sergio
--
--
View this message in context: http://www.nabble.com/loading-oratcl-from-starkit-tp16097039p16097039.html
Sent from the Tcl Starkit mailing list archive at Nabble.com.
RSS Feed