Re: finding tk version in Matrix 10.6



On Mar 30, 5:29 pm, Suresh <suresh.engin...@xxxxxxxxx> wrote:
Hi,

I am using Matrix 10.6 version.
when i give the command load tk83 in the tcl prompt i am getting the
following error,
"couldn't load library "tk83": this library or a dependent library
could not be found in library path".
I am using win XP os.
Please let me know to resolve this issue.

Your probably talking about IBM/Dassault Matrix One, right?

Could be easiest to just ask you support contact there.

But in a normal Tcl shell you would use 'package require Tk' to load
the Tk package into the interpreter. Depending on how good the Tcl
shell in Matrix is (the event loop needs to work), you may not even be
able to use Tk at all. So best check your local documentation.

If you simply want to use load and its the same command as in a normal
Tcl shell you might have more success with:

load <path to tk dll>/tk83.dll Tk

Michael

.



Relevant Pages

  • Re: newbie question : How to use my nice shared library
    ... I'm new to Tcl and I want to create a C shared library. ... something easy I tried to do a lib containing only an echo function. ... Tcl's [load] enforces a certain case for the Init routine name. ... but the tcl interpreter still tells me the same ...
    (comp.lang.tcl)
  • Re: newbie question : How to use my nice shared library
    ... I'm new to Tcl and I want to create a C shared library. ... I'm getting crazy>< - How to convince this interpreter to do something ... Tcl's [load] enforces a certain case for the Init routine name. ... Without the first 3 -D Tcl_StatBuf will be a different size in Linux, ...
    (comp.lang.tcl)
  • Re: newbie question : How to use my nice shared library
    ... George Peter Staplin a écrit: ... I tried to run a tcl interpreter and type in "load malib". ...
    (comp.lang.tcl)
  • Re: finding tk version in Matrix 10.6
    ... But in a normal Tcl shell you would use 'package require Tk' to load ... If you simply want to use load and its the same command as in a normal ... can't invoke "winfo" command: application has been destroyed ...
    (comp.lang.tcl)
  • Re: newbie question : How to use my nice shared library
    ... George Peter Staplin a écrit: ... I tried to run a tcl interpreter and type in "load malib". ... I'm getting crazy>< - How to convince this interpreter to do something useful instead of displaying stupid error messages? ...
    (comp.lang.tcl)