ikegami,
Maybe you'll have better luck using wperl.exe instead of perl.exe.

Interesting thought. I wonder where you came up with it?

This application currently doesn't write to STDOUT, STDERR, or read input from STDIN. It does write information to a SQLite database as well as launch external GUI applications (Firefox via WWW::Selenium as well as interface Outlook via Win32::API. It runs fine from the command line but not as a service (no work is performed). I am happy to give wperl.exe a try later but I am not sure why it would work where perl.exe fails.

Are you thinking that it is specifically my application and not just any perl script that won't work using SrvAny with 5.10 on Vista?

Cheers - L~R


In reply to Re^5: Turn a perl script into a Win32 Service by Limbic~Region
in thread Turn a perl script into a Win32 Service by Limbic~Region

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.