<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=sans-serif><FONT size=2><SPAN class=562295121-12122003><FONT 
face=Arial color=#0000ff>&nbsp;&gt; &nbsp;</FONT></SPAN>Has anyone actually 
tried this....I'm not having much luck with TclPro 1.4.1 and&nbsp;<SPAN 
class=562295121-12122003><FONT face=Arial 
color=#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=sans-serif><FONT size=2><SPAN class=562295121-12122003><FONT 
face=Arial color=#0000ff>&nbsp;&gt; &nbsp;</FONT></SPAN>vtk 4.3.0 (8/19/2003 
build). My simple script runs fine but the executable on WinXP&nbsp;<SPAN 
class=562295121-12122003><FONT face=Arial 
color=#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=sans-serif><FONT size=2><SPAN class=562295121-12122003><FONT 
face=Arial color=#0000ff>&nbsp;&gt; &nbsp;</FONT></SPAN>can't find the vtk 
package even on the same system. Any cookbook examples really<SPAN 
class=562295121-12122003><FONT face=Arial 
color=#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=sans-serif><FONT size=2><SPAN class=562295121-12122003><FONT 
face=Arial color=#0000ff>&nbsp;&gt; &nbsp;</FONT></SPAN>appreciated. Thanks for 
the lead Kevin! ....john</FONT></FONT>&nbsp;<BR><SPAN 
class=562295121-12122003><FONT face=Arial color=#0000ff 
size=2>&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff size=2>I've 
done it before, so its definitely possible.&nbsp;&nbsp;I don't know&nbsp;exactly 
what problem&nbsp;you're having, but there are a few things that can hang you up 
using the wrapper.&nbsp; If you're using&nbsp;VTK&nbsp;with shared libraries, 
make sure that when you&nbsp;wrap your executable, you&nbsp;use the&nbsp;shared 
library&nbsp;version of Tcl/Tk, or you won't be able to load new 
libraries.&nbsp; Second,&nbsp;if you're wrapping the tcl files that provide the 
vtk package,&nbsp;you can get hung up on the path.&nbsp;&nbsp;Depending on 
how&nbsp;you specify the path to&nbsp;the&nbsp;package files, the wrapped 
executable may search the local system, or&nbsp;the files wrapped into your 
executable.&nbsp; I don't remember precisely how it decides one way or the 
other, but the documentation spells it out pretty&nbsp;clearly.&nbsp; Same 
goes&nbsp;for the Tcl and Tk library files (not the dll's the .tcl files in 
TCL_LIBRARY&nbsp;and TK_LIBRARY).&nbsp; You can wrap those into 
the&nbsp;executable, but you have to be&nbsp;careful how you specify the 
path.&nbsp; If you do everything correctly, the only files that you should have 
to ship are your executable, and the dll's for Tcl and VTK.</FONT></SPAN></DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff size=2>Sorry 
that's probably not much help,&nbsp;but the few times I've done this, its been a 
little&nbsp;touchy, and I found you just have to&nbsp;keep trying&nbsp;until it 
works.</FONT></SPAN></DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff size=2>Good 
luck,</FONT></SPAN></DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff 
size=2>Kevin.</FONT></SPAN><SPAN 
class=562295121-12122003>&nbsp;</SPAN></DIV></BODY></HTML>