Hi!

I haven't managed either exactly what you are attempting (though I would
be really interested!), but a fairly painless workaround (which I
actually use), is to pack the icon additionally with '--addfile', and
get it from there afterwards (it's messy, but the file is tiny
anyway...).

Good luck!

Philippe

John wrote:
> 
> Hi
> 
> I am packaging a Win32::GUI app with:
> 
> pp -i myicon.ico -M Math::Trig -M Win32::GUI -M Win32::GUI::Grid -g -o
> b.exe guess1.plw
> 
> in my app Iam using:
> 
> my $icon = new Win32::GUI::Icon(105);
> $main->ChangeIcon($icon);
> 
> to access and set my apps title bar icon. Looking in the packaged app
> with a resource editor myicon appears as 101. When I use that number in
> the statement above (currently 105) I get a camel. Changing that number
> I get a variety of other icons but not the one I want.
> 
> Could someone please suggest how I might achieve what I want and
> possibly explain what is happening. As I write this I think that the
> camel icon is coming from parl.exe which I understand to be part of the
> executable component of the package.
> 
> --
> Regards
>     John McMahon
>          [EMAIL PROTECTED]

Reply via email to