#66 LocalService support

closed-out-of-date
None
5
2010-08-30
2005-09-26
No

With this module you can create out-of-process COM
server in NT Service.

Usage:

class MyCOMObject1:
_reg_clsid_ = ...
_reg_...

class MyCOMService(localservice.LocalCOMService):

_svc_com_servers_ = [MyCOMObject1, ...]

if __name__=='__main__':
localservice.ProcessCommandLine(MyCOMService)

Discussion

  • Mark Hammond

    Mark Hammond - 2005-09-27

    Logged In: YES
    user_id=14198

    Did you mean to include an attachment?

     
  • Michael Dubner

    Michael Dubner - 2005-09-27

    Logged In: YES
    user_id=39274

    Sorry - forgot to click on checkbox

     
  • Michael Dubner

    Michael Dubner - 2005-09-27

    localservice.py

     
  • Michael Dubner

    Michael Dubner - 2005-10-10
    • assigned_to: nobody --> mhammond
     
  • Mark Hammond

    Mark Hammond - 2005-10-11

    Logged In: YES
    user_id=14198

    Thanks Michael. A few comments:

    * Could you please change 'Granted for inclusion in pywin32
    (https://sourceforge.net/projects/pywin32/).' to something
    like 'Released under the terms of the pywin32 license' or
    something - that makes it clear that people who are
    currently free to redistribute pywin32 components are also
    free to redistribute this.

    * Is there any reason we can't leverage the existing service
    command-line support? It seems a shame to clone so much
    code. I'd be willing to consider changing win32serviceutil
    so we can take advantage of customized command-line options
    etc. The 'optparse' module is a better choice than getopt
    these days.

    * Its not clear why 'serve' is needed, and there aren't any
    comments for it.

    * Why are InitHook() functions rather than just class members?

    Thanks,

    Mark

     
  • Mark Hammond

    Mark Hammond - 2006-07-12

    Logged In: YES
    user_id=14198

    Just checking if this is still alive...

     
  • Mark Hammond

    Mark Hammond - 2010-08-30
    • status: open --> closed-out-of-date
     
  • Mark Hammond

    Mark Hammond - 2010-08-30

    No word from submitter.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks