Okay, I updated my Win32::Exe and now it fails with the reasons shown.
C:\Documents and Settings\malcolm\My Documents\proj_pp_testing>pp -o
hello_tk.exe -i hi.ico hello_tk.pl
C:\Documents and Settings\malcolm\My Documents\proj_pp_testing>hello_tk.exe
Can't load
'C:\DOCUME~1\malcolm\LOCALS~1\Temp\par-malcolm\cache-65a4f6510b6285341de4b43
ea67236ab21b6fba9\10e007e7.dll' for module Tk: load_file:%1 is not a valid
Win32 application at C:/perl/lib/DynaLoader.pm line 229.
at ../blib/lib/PAR/Heavy.pm line 104
Compilation failed in require at script/hello_tk.pl line 32.
BEGIN failed--compilation aborted at script/hello_tk.pl line 32.
################## However #################
The looked for dll is really there:
C:\Documents and Settings\malcolm\My Documents\proj_pp_testing>dir
C:\DOCUME~1\malcolm\LOCALS~1\Temp\par-malcolm\cache-3
63d47e62410e1fb98d2b3fb29d06ebb7b2bcfc9\10e007e7.dll
Volume in drive C has no label.
Volume Serial Number is 0742-11FB
Directory of
C:\DOCUME~1\malcolm\LOCALS~1\Temp\par-malcolm\cache-363d47e62410e1fb98d2b3fb
29d06ebb7b2bcfc9
04/16/2004 06:01 AM 495,693 10e007e7.dll
1 File(s) 495,693 bytes
0 Dir(s) 39,664,680,960 bytes free
----- Original Message -----
From: "Alan Stewart" <[EMAIL PROTECTED]>
To: "the.noonings" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 5:05 AM
Subject: Re: pp -i <iconfile> with Tk apps
> On 16 Apr 2004 at 4:35, the.noonings wrote:
>
> > 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.
> >
>
> No. That error should be gone if you use Win32::Exe 0.08. The error I get
from perl 5.8
> is a invalid Tk.dll after modifying the icon (don't have the exact message
handy).
>
> Alan Stewart
>