Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Problem Using Win32

by pKai (Priest)
on Dec 27, 2007 at 14:25 UTC ( #659201=note: print w/replies, xml ) Need Help??


in reply to Problem Using Win32

Activestate's perlsvc from their "Perl Developement Kit" converts your Perl program to a Win32 service. If I remember correctly you also have to provide some subs with given name, which perlsvc wraps into an interface to the Windows service controller.

Im not sure there is a use for a (blocking!) MsgBox inside of service code, let alone on which desktop it will display (desktop of the user the service is installed under, if at all, I assume.)

If you just want an executable, you'll probably need perlapp from the same Kit.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://659201]
help
Chatterbox?
[marioroy]: ... including MCE 1.830. Finally, reached the finish line. All is well.
[marioroy]: The issue on the Windows platform is many workers loading "required" modules simultaneously, more so with XS modules.
[marioroy]: ... at runtime.
[marioroy]: The other problem is if a module isn't thread or multi-process safe, there's no posix_exit equivalent on the Windows platform without exiting the entire script.
[Discipulus]: and the workaround you proposed works better? ie load them once and then copy them for threads?
[Discipulus]: ah this is another interesting point: how to know if a module is or is not thread safe?

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-09-22 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (260 votes). Check out past polls.

    Notices?