in reply to Re^7: Turn a perl script into a Win32 Service
in thread Turn a perl script into a Win32 Service

I know why - Vista no longer supports interactive services

Good news that you know why. Crap that it doesn't. I wonder about the rational behind that, but what's new with MS decision making.

I still have Win32::Daemon to explore but it will be hard for me to tell which problems are related to the module versus Vista :-(

I will try (late tomorrow due to commitments), to work up a working Win32::Daemon sample. I thought that I had posted one here (at least) once before, but a casual google didn't turn it up.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^8: Turn a perl script into a Win32 Service

Replies are listed 'Best First'.
Re^9: Turn a perl script into a Win32 Service
by Limbic~Region (Chancellor) on Oct 16, 2008 at 01:52 UTC
    BrowserUk,
    I am working from one of the examples. I will let you know if I get it working (on Vista).

    Update: It looks like the issue is the combination of running perl as a service and trying to do Win32::OLE->new('Outlook.Application'). It hangs there for a while then dies with Win32::OLE->LastError = Win32::OLE(0.1709) error 0x80010001: "Call was rejected by callee" When I kill outlook from the process table, it still fails to get the inbox. I am trying to track these problems down now.

    Cheers - L~R