List,
If you are really in a hurry and have limited time - Resource Hacker
(http://www.users.on.net/johnson/resourcehacker/) can change the icons (in
Tk.dll). Only problem you have to change the icon every time you want to
Par a new app.
I assume you are looking for a cleaner more long term solution so that Par
works the way it should or is stated to work. I cant help there I am
afraid. I use this when I use PerlApp to create stand-alone apps. I use RH
to hack and change the icons to something I have made custom.
Hope this helps in some way...
JH
Jonathan Hughes
Tech Support Specialist
MCP / MCSD
Goodyear South Africa
"the.noonings"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
rizon.net> cc: (bcc: Jonathan Hughes/EU/GDYR)
Subject: Re: pp -i <iconfile> with Tk
apps
04/16/2004 10:35
AM
I am not sure of what you are asking here. In any case, I went into the
Windows XP environment variables area and created PP_TK_ICONFIX with a
value
of 1.
I have perl v5.8.3
I then used a known good file hello_tk.pl as shown below, with the
resulting
error message. Is this what you are asking for?
>pp -o hello_tk.exe -i hi.ico hello_tk.pl
Can't locate object method "new" via package "Win32::Exe::IconFile" at
C:\Perl\bin\pp line 175.
----- Original Message -----
From: "Alan Stewart" <[EMAIL PROTECTED]>
To: "Autrijus Tang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 4:00 AM
Subject: Re: pp -i <iconfile> with Tk apps
> On 17 Mar 2004 at 17:43, Alan Stewart wrote:
>
> > Prior to PAR 0.80, there was a change to pp that enabled the "-i"
option
to change the
> > icons in the Tk.dll, as well as the .exe itself for Win32 Tk apps. That
changes the
> > icon in the upperleft corner of the Tk window. It worked for me, but
not
for Autrijus.
> > If anyone out there is packing Tk apps, please try it out and let us
know how it goes.
> >
> > As you can see, this feature is off by default. Set PP_TK_ICONFIX=1
before running pp
> > to enable it.
>
> It appears that this does work for perl 5.6, but not perl 5.8.
>
> Alan Stewart
>