Someone else mentioned having problems with namespaces with Tcl commands
(not procs).  I recommend you read the thread entitled "MetaKit with
AOLServer" in the March 2002 archives.  There was another thread, I
thought, specifically about such namespace problems but I can not find it.
Maybe it was on the sourceforge bugs or something.

This url is a good way to browse archives.
http://www.mail-archive.com/[email protected]/

I recomment going there and searching for "namespace" which came up with a
problem similar to yours, I think.  You aren't using metakit too, by any
chance?

If you'd like, and it's not sensitive, you can send me your .so and I can
play around with it.

Good Luck,
Rusty


On Mon, 8 Apr 2002, Christian Wilhelmi wrote:

> Thank you, Rusty, Jeff, and Darren, for all the quick answers! Since I
> don't have the source code of the .so file I opted for Rusty's first
> suggestion (ns_eval [list load /path/to/example.so]). Unfortunately, I
> haven't had success with this way so far.
> I convinced myself that creating globally available procs on the fly does
> work with ns_eval, but my attempts to globally load the procedures in
> example.so failed. The procedures within this lib belong to a separate
> namespace - maybe this could be a problem?! Though, when loading example.so
> from each script, this is not an issue.
> Darren, your suggestion sounds easy to me, but I just don't know which tcl-
> file you mean (I haven't got any in /etc or any other etc directory). I
> would probably need another little push...
>
> Many thanks,
>
> Christian
>

------------------------------------------
Rusty Brooks : http://www.rustybrooks.org/
    Spewing wisdom from every orifice
------------------------------------------

Reply via email to