Creating Tkx based GUI applications with activeperl and perlapp should  
work out-of-the box without any need for any special options.   
Upgrading the Tcl.pm module from CPAN (or via ppm) might give you a  
version without our patches to pick up the tkkit.dll we bundle with  
ActivePerl, so that might be one source of errors.

I'm not really sure what workarounds are needed to bundle and use  
tcl85.dll from ActiveTcl.

If you use later versions of ActivePerl they should already come with  
a 8.5 based tkkit.

--Gisle


On Dec 9, 2008, at 23:31 , [EMAIL PROTECTED] wrote:

>
> All,
> I'm doing my first tests with Tkx. I installed latest Active TCL and  
> set
> PERL_TCL_DL_PATH=C:\Tcl\bin\tcl85.dll
> Anything seems to work properly when I run my test script on my own  
> system.
> When I try to create a executable with perlapp version 6.0.1 and try  
> to run
> it on a clean system I get a error message:
>
> Could not access registry "HKLM\Software\ActiveState\ActiveTcl"
> Could not access registry "HKCU\Software\ActiveState\ActiveTcl"
> Failed to load Tcl dll! at /PerlApp/DynaLoader.pm line 232.
> Unable to initialize Tcl at /PerlApp/DynaLoader.pm line 232.
> BEGIN failed--compilation aborted at /PerlApp/Tkx.pm line 206.
> BEGIN failed--compilation aborted at tkxtest.pl line 10.
>
> When I try to add the missing dll with "--bind tcl85.dll[file=C:\Tcl 
> \bin
> \tcl85.dll,extract]" command line option, I've a few messages about  
> wrong
> Tcl installation.
>
> Is there a way to create a freestanding executable when I use Tkx?  
> Or is a
> Tcl installation a must to run the exe file?
>
> Torsten Werner

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to