On Sun, 16 Mar 2003 14:46:16 +0800, Autrijus Tang wrote:
> On Sat, Mar 15, 2003 at 05:30:17PM -0500, H.Wade Minter wrote:
> > On Saturday, March 15, 2003, at 04:34 PM, Autrijus Tang wrote:
> > >On Sat, Mar 15, 2003 at 02:45:00PM -0500, H.Wade Minter wrote:
> > >>Here's a reduced testcase - hope this helps!
> > >
> > >It indeed does! Attached (and also inlined below) please find the
> > >patch that should fix 'pp' so it can pass Tk::Widget's autoloading.
> > >
> > >Please tell me whether of it works for your full application.
> >
> > Worked perfectly. Outstanding!
> >
> > It looks like PAR can do everything I need out of perl2exe, with the
> > exception of two minor details. One being the inclusion of a Windows
> > icon, for the Win32 builds of mrvoice,
>
> You should be able to fix this by Michaelangelo (sp?), resource
> editor, or some similar tools to 'hack' the icon in. Again, if you
> can point me to some tips or code that does this, I'll be happy to
> apply it. (Cc'ed to list looking for clues.)
>
> > and the other is to make Win32
> > Tk applications run without the GUI window.
>
> Mmm, you mean you need 'wperl.exe' functionality. You can make use of
> Jan Dubois' excellent 'exetype.pl' (as attached) and reflag your
> executable as 'WINDOWS' instead of the default 'CONSOLE'. See its POD
> page for details.
The exetype.pl script worked like a charm. My Perl/Tk exe looks just like
any other windows app.
> I'll consider merging exetype.pl's functionality into 'pp' -- or would
> you think it's redundant?
Please, put it in! Looks like it could be an additional option to 'sub
par_to_exe' in pp.bat, though I'm scared to write it myself. How about using
the presence of Tk to default whether the EXE is flagged as 'WINDOWS'?
Regards,
Gregory Krohne