Re: [python-win32] extending com objects

2006-12-21 Thread Ross McKerchar
Tim Golden wrote: > As you will realise if you've looked at my code, I'm > using a delegation model. (Sounds grand, doesn't it: > a delegation model!) Which basically means I keep > a copy of the WMI COM object inside my own class and > proxy things across where needed. > > Can't see why you could

Re: [python-win32] Makepy and Documentum Foundation Classes

2006-12-21 Thread Tom Schaible
Hello everyone, Just seeing if I can open up this issue with a bit more information. I am trying to access the COM interface to Documentum as well. I ran into the same problems that David did. Basically, that it appears makepy gets utterly confused when generating the information for the DFC C

Re: [python-win32] comtypes

2006-12-21 Thread Thomas Heller
Niki Spahiev schrieb: > Thomas Heller wrote: >> comtypes seems to gain some attention (comtypes is a pure Python, lightweight >> COM client and server framework, based on the ctypes Python FFI package.) >> >> I'll try to release a new version over the next days. >> >> However, I'm wondering what

[python-win32] Sessions and Unicode

2006-12-21 Thread Bjarni Ragnarsson
Hi Hope somone can help me. Using Python 2.5 and PyWin32-210 PythonScript .asp page on IIS and Windows XP I'm puzzled A Scripting.Dictionary is created and assigned to as Session variable in vb script. This dictionary is populated by reading a file. In the PythonScript this Session object i

[python-win32] AMD64 support

2006-12-21 Thread Sidnei da Silva
Hi there, I've spent some time today experimenting with building pywin32 for AMD64. That is, mostly the Py_ssize_t changes from PEP 353 and whatever else the compiler complained about. I've asked Mark for permission and made a 'AMD64' branch (apparently the first branch on this repository?!). Th

Re: [python-win32] Displaying contents of a file using PyWin

2006-12-21 Thread Gabriel Genellina
[Forwarded from [EMAIL PROTECTED] At Thursday 21/12/2006 13:51, MiguelS wrote: import win32ui from pywin.mfc import docview t = docview.DocTemplate() t.OpenDocumentFile("d:/temp/music.log", True) This caused windows to close PythonWin. This appears to be a problem with pywin32. Using releas

Re: [python-win32] Displaying contents of a file using PyWin

2006-12-21 Thread Mark Hammond
Hi Gabriel, > [Forwarded from [EMAIL PROTECTED] > > At Thursday 21/12/2006 13:51, MiguelS wrote: > > >import win32ui > >from pywin.mfc import docview > > > >t = docview.DocTemplate() > >t.OpenDocumentFile("d:/temp/music.log", True) > > > >This caused windows to close PythonWin. > > This appears to

Re: [python-win32] Displaying contents of a file using PyWin

2006-12-21 Thread Gabriel Genellina
At Friday 22/12/2006 00:28, Mark Hammond wrote: > >import win32ui > >from pywin.mfc import docview > > > >t = docview.DocTemplate() > >t.OpenDocumentFile("d:/temp/music.log", True) > > > >This caused windows to close PythonWin. > > This appears to be a problem with pywin32. > Using release 209 f