Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Perl Par built exe, sometimes it runs, sometimes it doesn't

Reply
Thread Tools

Perl Par built exe, sometimes it runs, sometimes it doesn't

 
 
Jesse Schoch
Guest
Posts: n/a
 
      09-25-2003
I have a client that i wrote and built into a .exe with pp. I have
tested it on Win2k, WinXP, Win98, WinME, but for some reason on WinNT
4.0 SP3 and SP6a it sometimes runs, and sometimes does not.

The perl58.dll I uses is from the tiny perl distribution, I have tried
the active state dll with no change in behavior, it doesn't even throw
an error when it decides not to run, it takes about 3 tries, and then
it will run fine, no problem, but if i re-run it will crap out with no
error whatsoever.

Any Ideas on how I might troubleshoot this?

Any possible fixes?

-greenail
 
Reply With Quote
 
 
 
 
Sisyphus
Guest
Posts: n/a
 
      09-26-2003
Jesse Schoch wrote:
> I have a client that i wrote and built into a .exe with pp. I have
> tested it on Win2k, WinXP, Win98, WinME, but for some reason on WinNT
> 4.0 SP3 and SP6a it sometimes runs, and sometimes does not.
>
> The perl58.dll I uses is from the tiny perl distribution, I have tried
> the active state dll with no change in behavior, it doesn't even throw
> an error when it decides not to run, it takes about 3 tries, and then
> it will run fine, no problem, but if i re-run it will crap out with no
> error whatsoever.
>
> Any Ideas on how I might troubleshoot this?
>


I assume the script was compiled with warnings enabled ?

Try inserting some print statements at various (relevant) points in the
script.

My guess is that the exe runs, but is sometimes hanging at some point.
Once you've identified that "point" (courtesy of the print statements)
you might be able to sort it out.

(Not very sophisticated

Cheers,
Rob







 
Reply With Quote
 
 
 
 
Jesse Schoch
Guest
Posts: n/a
 
      10-02-2003
problem was solved by replacing the perl dll (i was using the tinyperl
dll locally) and compiling with the -d switch to pp. -d helped my
disk usage for my app and utilities considerably. hope this helps
someone.

by the way, there was no error, or print messages shown whatso ever,
perhaps tinyperl isn't tested so well on windows nt 4.

-greenail
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find par loader at C:/Perl/site/lib/PAR/Packer.pm line 101 Oliver Soeder Perl Misc 1 06-30-2007 02:32 PM
Can't find par loader at C:/Perl/site/lib/PAR/Packer.pm line 101. osoeder@gmx.de Perl Misc 0 06-07-2007 02:58 PM
PAR, PAR::Packer smueller@cpan.org Perl Misc 1 12-01-2006 09:41 PM
AS Perl + PAR perl58.dll? John Bokma Perl Misc 0 07-12-2005 04:39 AM
message eradique par une regle emise par SPE interscaneManager@fr.ch Python 0 08-21-2003 07:47 PM



Advertisments