I'm trying to wrap a TK  application that contains a tkTable, ala ActiveTcl, using prowrap. The prowrap command I am using is
 
/dtools/TclPro/TclPro1.4/solaris-sparc/bin/prowrap -tcllibrary /dtools/ActiveTcl/lib loadmrt loadmrt.h dialog.tcl timer.tcl tkerror.tcl -out ./deviceUpgrade
I included the tcllibrary in hopes it would resolve the problem, but to no avail. I assume prowrap is referencing its version of wish and tk libs. Does the ActiveTcl package contain a prowrap of equivalent. It seems I saw something about this some months ago in emails to this list.
 
The get no errors when running prowrap, but receive the error below when running the wrapped application.
 
=================================================
 
Error in startup script: invalid command name "table"
    while executing
"table $base.fra31.tab27  -anchor center -background white -borderwidth 2 -cols 6  -font {{MS Sans Serif} 8} -rows 12 -rowstretchmode unset -titlerows ..."
    (procedure "vTclWindow.top23" line 32)
    invoked from within
"vTclWindow.top23 .top23 "
    ("eval" body line 1)
    invoked from within
"eval "vTclWindow$name $newname $rest""
    ("show" arm line 5)
    invoked from within
"switch $cmd {
        show {
            if {$exists} {
                wm deiconify $newname
            } elseif {[info procs vTclWindow$name] != ""..."
    (procedure "Window" line 11)
    invoked from within
"Window show .top23"
    (file "loadmrt" line 443)

Robert M. Bartis
Lucent Technologies
Room HO 1C-413A (HO) / 1B-304 (WH)
( 732.949.4565 (HO) / 973.386.6739 (WH)

* [EMAIL PROTECTED]

 

Reply via email to