COM with Python?
Gordon McMillan
gmcm at hypernet.com
Tue Jul 6 23:41:16 EDT 1999
More information about the Python-list mailing list
Tue Jul 6 23:41:16 EDT 1999
- Previous message (by thread): COM with Python?
- Next message (by thread): COM with Python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Markus Stenberg] > >Spesifically, I'm looking for information on activation policies; how to > >implement idispatch objects that are singletons for a single machine. [Mark Hammond] > Your best bet is DejaNews - the singleton subject was done fairly > thourghly a while ago, and no significan changes have been made to > the COM package to make it any eaiser (alas) Hmm. I've read those posts, and never did find a resolution. There's a thread "connect to running python COM server", which ends with code from Andy that doesn't look to me like it would really create a singleton (it looks like it would only allow one instance within a process, but not one instance on a machine). Does it work? There's also a thread "I'm BaaaAAAAAAaaaaaaak" where you find some code (horribly trashed by being posted with leading tabs and getting htmlized) that appears to try to use Policy objects to create a singleton. Again, to me it looks like it would work in-process, but not machine wide. I have had success with using the ROT, which is very easy to do. Unfortunately, if I leave the (singleton) server running for an extended period of time (say 6 to 24 hrs), at some point I find my machine locked up. This is NT 4 SP4 on a _very_ stable machine - the only BSODs I've ever seen were when I had a parallel port Zip disk attached. (I moved the Zip disk to my Linux box, where it's performed flawlessly ever since :-)). - Gordon
- Previous message (by thread): COM with Python?
- Next message (by thread): COM with Python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list