Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prowrap problems question

Status
Not open for further replies.

asavage111

Technical User
May 14, 2002
2
US
I’m a novice so please excuse the lack of technical forte. I have two files, Passport.tcl and Utils.tcl, Passport sources (using the source command) procs in utils. Using prowrap (Tclpro1.4), I’m trying to link my Util.tcl script to the intended .exe (Passport.exe). My expectation is that the code will be statically linked and I won’t have to copy util.tcl to the PC I intend to deliver the .exe too. Unfortunately, it’s not working that way! From the cmd line, by the way, W2k, I’ve tried prowrap –uses tclsh passport.tcl c:\include\util.tcl –out passport.exe. It wraps but I can’t run the .exe without having utils.tcl local. What am I doing wrong? Are my expectations incorrect? Please help!! Thanks!!!
 
Is it important that the proc's in Utils be "source"d rather than using the "tcllib" property? If not, at least using FREEWRAP, I know the library gets packaged with the main script (if you use the right flags). Bob Rashkin
rrashkin@csc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top