[pywin32-bugs] [ pywin32-Patches-1305342 ] LocalService support
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2006-07-12 12:41:59
|
Patches item #1305342, was opened at 2005-09-27 09:57 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=1305342&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Michael Dubner (dubnerm) Assigned to: Mark Hammond (mhammond) Summary: LocalService support Initial Comment: 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) ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2006-07-12 22:41 Message: Logged In: YES user_id=14198 Just checking if this is still alive... ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2005-10-11 11:53 Message: 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 ---------------------------------------------------------------------- Comment By: Michael Dubner (dubnerm) Date: 2005-09-27 18:22 Message: Logged In: YES user_id=39274 Sorry - forgot to click on checkbox ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2005-09-27 11:59 Message: Logged In: YES user_id=14198 Did you mean to include an attachment? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=1305342&group_id=78018 |