Re: loading oratcl from starkit
- From: "thelfter@xxxxxxxxx" <thelfter@xxxxxxxxx>
- Date: Fri, 14 Mar 2008 10:32:32 -0700 (PDT)
On Mar 14, 12:32 pm, Sergio Anis <sergioa...@xxxxxxxxx> wrote:
hi everybody:
I'm having some problems loading oratcl from a starkit. In an erlier
post 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 windows 2000, but fail in some windows 2000
and xp. The script fail when it try to load the oratcl44.dll, the
error message doesn't say why. I noticed that in the cases where it
fails, the dll were not copied into c:\temp. So I hardcoded the paths
(I'll use it only in windows) making sure that the dll exist on c:
\temp. Now the dll are into the c:\temp but still is unable to load
the oratcl44.dll.
I'd appreciate any suggestions you may have.
Thanks,
Sergio
Sergio,
Make sure that whereever the 'dll's are located is in the windows PATH
system env. variable, or windows can't find them to load them.
-Todd
.
- References:
- loading oratcl from starkit
- From: Sergio Anis
- loading oratcl from starkit
- Prev by Date: Re: problems with snit
- Next by Date: Re: loading oratcl from starkit
- Previous by thread: loading oratcl from starkit
- Next by thread: Re: loading oratcl from starkit
- Index(es):
Relevant Pages
|