Eddie
Prowrap requires special Tcl interpreter initialization. See the
documentation sections "Wrapping Applications with a Custom Interpreter
or Custom Initialization Libraries" and "Creating Base Applications for
TclPro Wrapper" on about page 100 of the documentation. Basically, the
interpreter must be initialized by calling Pro_WrapTclMain instead of
TclMain.
Bob
--
Bob Techentin techenti...@mayo.edu
Mayo Foundation (507) 538-5495
200 First St. SW FAX (507) 284-9171
Rochester MN, 55901 USA http://www.mayo.edu/sppdg/
I'm quite a Newbie...would it be possible to elaborate? I have read
the manual several times in an effort to accomplish this but failed.
You're going to have to download the source to Tcl 8.3.3, and build your
own tclsh that has been modified to work with Prowrap. If you've never
built Tcl before, but just downloaded TclPro, then this might be hard
for you. But the instructions in the README files are pretty straight
forward. Follow them.
If you're on unix, then modify tcl8.3/unix/tclAppInit.c, replacing
"Tcl_Main" with "Pro_WrapTclMain." Then you should be able to run
'make' and get a new tclsh that includes the Prowrap initialization.
When wrapping your application, use the -executable switch to tell
prowrap where to find your new tclsh interpreter.
Good luck,