Re: [python-win32] meaning of bin string representation ofPR_ENTRYID

2007-06-29 Thread Mark Hammond
> This sounds as if there was no point at all to do anything with the > eids. If I am not even allowed to compare two ids, how could > they point > at different mail items? I'm just paraphrasing the MS docs - that property is documented as "Binary comparable (as with memcmp): No". mapi.CompareEn

Re: [python-win32] PythonWin won't start the second time

2007-06-29 Thread Zeev B
I've uninstalled and reinstalled Pythonwin and indeed after installation the pyc is present and when Pythonwin runs the first time it overrides it. I've saved the original intpyapp.pyc and when I use it Pythonwin runs without a problem. I've compared the "working" pyc with the "non-working" one and

[python-win32] Re: PythonWin won't start the second time

2007-06-29 Thread Roger Upole
> I've uninstalled and reinstalled Pythonwin and indeed after > installation the pyc is present and when Pythonwin runs the first time > it overrides it. I've saved the original intpyapp.pyc and when I use > it Pythonwin runs without a problem. I've compared the "working" pyc > with the "non-workin

[python-win32] IE DOM ptr as input to DLL function - Doing this right?

2007-06-29 Thread Jef Allbright
I'm a newbie to Win32 COM and am unsure whether my current problem lies in what I'm doing or possibly in some quirk of the DLL I'm trying to use from Python. I have a snippet of C++ that I want to implement in Python: IDispatch* pVoid; m_pBrowserApp->get_Document(&pVoid);

Re: [python-win32] polling with os.popen3

2007-06-29 Thread TK Soh
On 6/29/07, Tim Roberts <[EMAIL PROTECTED]> wrote: > TK Soh wrote: > > I'm trying to use os.popen3 to replace subprocess.Popen for python 2.3 > > compatibility. According to the document, os.Popen3 class is not > > supported on Win32, so I can't poll() the pipe. I wonder how I can > > check if the

Re: [python-win32] polling with os.popen3

2007-06-29 Thread Tim Roberts
TK Soh wrote: > On 6/29/07, Tim Roberts <[EMAIL PROTECTED]> wrote: >> TK Soh wrote: >> > I'm trying to use os.popen3 to replace subprocess.Popen for python 2.3 >> > compatibility. According to the document, os.Popen3 class is not >> > supported on Win32, so I can't poll() the pipe. I wonder how I c

Re: [python-win32] IE DOM ptr as input to DLL function - Doing thisright?

2007-06-29 Thread Mark Hammond
> I'm a newbie to Win32 COM and am unsure whether my current problem > lies in what I'm doing or possibly in some quirk of the DLL I'm trying > to use from Python. > > I have a snippet of C++ that I want to implement in Python: > > IDispatch* pVoid; > m_pBrowserApp->get_Document(&pVoid)