On Thu, 4 Sep 2003 09:48:48 +0200, [EMAIL PROTECTED]
wrote:

>I try to get a Win32 service running using the Activestate PDK. The 
>problem is that I would like to initialize a variable during the Install 
>method and use it later in the Startup method. The code below, however, is 
>not working as expected.

The Install() method is only executed at install time, i.e. when you run

  st --install

It is not executed when you start the service.  If there is code you want
to execute both from Interactive() and from Startup(), why don't you put
it into your own private function and call it from both callbacks?

Cheers,
-Jan

PS: Please send PDK related questions to the PDK mailing list.

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to