å ä, 2004-02-02 23:30, the.noonings åéï
> Kudos to Autrijus Tang for doing the PAR tutorial.  I understood more
> than 3/4 of it.  It gave me a very good idea of what PAR (and pp) is
> for.  It also showed me a lot of what else there is to deploying a
> perl app.  I will be trying to learn more on these subjects.

Thanks, that makes me really happy. :-)

> Slide 025 states: PE Header manipulation in Perl -- volunteers wanted!
> I am not sure what that is referring to, but I have some extra time
> here and there.  I have a solid foundation in Perl.
<snip>
> Is there something I can do to help?

Well, actually yes.  "pp" currently relies on an external tool
(replaceicon.exe) for the --icon (user-defined Win32 icon) option,
and it is not yet capable of tagging Win32's executable information
(such as author and copyright strings) with the --info option.

If you look at:
http://p4.elixus.org/repos/member/autrijus/PAR/script/pp
you'll see two half-finished functions, _replace_icon and
_extract_image, that tries to hack the PE header to find the camel icon
(shipped in myldr/win32.res) and replace it with user-specified $file.

However, I had not got around to fill up the raw icon data in win32.res
to line 711:
    my $default_icon = ''; # XXX

So if somebody can use a resource/hex editor to get that value and
ensure that _replace_icon works as intended, it will be appreciated.

As for the --info part... Well, I have a half-finished reimplementation
of Win32::Exe that deals with PE headers in the correct way, but it
still contains some proprietary code and is hence not suited to hand to
other people.  So I guess unless somebody capable turns up, we'll have
to wait a while for that feature.

Thanks,
/Autrijus/

Attachment: signature.asc
Description: =?UTF-8?Q?=E9=80=99=E6=98=AF=E6=95=B8=E4=BD=8D=E5=8A=A0=E7=B0=BD?= =?UTF-8?Q?=E7=9A=84=E9=83=B5?= =?UTF-8?Q?=E4=BB=B6?=

Reply via email to