Re: [python-win32] rdflib install fails

2008-11-25 Thread Waldemar Osuch
On Tue, Nov 25, 2008 at 8:46 AM, Jose Quesada <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm new to python. > I'm trying to install rdflib. It needs to compile some C code, so it relies > on cywin/gcc. > It seems that it doesn't like something in my system. Here is the error: > > invalid version numb

Re: [python-win32] Win32Cred build errors

2008-11-25 Thread Mark Hammond
I can't recall why we say we need that version - have you tried changing it to see what breaks? Currently the vista SDK needs to be used as some partf of pywin32 are starting to expose things introduced with that OS. Cheers, Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beh

[python-win32] Win32Cred build errors

2008-11-25 Thread Dave Cross
Hi all/anybody, Win32credmodule.cpp for pywin32 2.5.212.1 insists on finding a header with #define _WIN32_WINNT 0x501 in it. The WinResrc.h file that comes with Microsoft Platform SDK for Windows Server 2003 R2 is only 0x500 so the build fails. As far as I can see, though, this version of the

Re: [python-win32] Simple context-menu question.

2008-11-25 Thread Tim Roberts
Mike Driscoll wrote: > Tim Roberts wrote: >> Joel Bryan Juliano wrote: >> >>> >>> My question is how can I get the current names of the "MenuName > >>> SubMenuName > SubItemName" when InvokeCommand is called? >> >> I would also caution you that it is not good practice to create deeply >> nested

Re: [python-win32] Simple context-menu question.

2008-11-25 Thread Mike Driscoll
Tim Roberts wrote: Joel Bryan Juliano wrote: Based on the context_menu.py example found in win32comext\shell\demos\servers\context_menu.py, there is a function callback when an item is chosen, def InvokeCommand(self, ci): mask, hwnd, verb, params, dir, nShow, hotkey, hicon = ci

Re: [python-win32] Fwd: Accessing Modification Time of an Outlook Mail in Python

2008-11-25 Thread Tim Roberts
venu madhav wrote: > > Hi all, > I am writing a small application which reads the contents of an > Outlook Mail using python. I am able to read the contents, subject > along with senders and receivers of a mail using MAPI objects. But may > I know how can I get access to the "modification tim

Re: [python-win32] Simple context-menu question.

2008-11-25 Thread Tim Roberts
Joel Bryan Juliano wrote: > Based on the context_menu.py example found in > win32comext\shell\demos\servers\context_menu.py, there is a function > callback when an item is chosen, > > def InvokeCommand(self, ci): > mask, hwnd, verb, params, dir, nShow, hotkey, hicon = ci > win32gui.

[python-win32] nevermind, I found the solution:

2008-11-25 Thread Jose Quesada
http://boodebr.org/main/python/build-windows-extensions Update: 2008-09-10 Recent versions of Cygwin binutils have version numbers that are breaking the version number parsing, resulting in errors like: ValueError: invalid version number '2.18.50.20080625' To fix this, edit distutils/versio

[python-win32] rdflib install fails

2008-11-25 Thread Jose Quesada
Hi all, I'm new to python. I'm trying to install rdflib. It needs to compile some C code, so it relies on cywin/gcc. It seems that it doesn't like something in my system. Here is the error: invalid version number '2.18.50.20080625' I have no idea what software this version number is about. C

Re: [python-win32] COM server and pointer to pointer parameter

2008-11-25 Thread ricercar
At 09.35 13/11/2008 +1100, you wrote: >That is another clue that makes me think the marshaller might be involved. >Have you changed pippo to only support out-of-process registration? >Cheers, >Mark Sorry for replying late, I had some problems and I could not do tests on pippo_server before. Wel

[python-win32] Simple context-menu question.

2008-11-25 Thread Joel Bryan Juliano
Based on the context_menu.py example found in win32comext\shell\demos\servers\context_menu.py, there is a function callback when an item is chosen, def InvokeCommand(self, ci): mask, hwnd, verb, params, dir, nShow, hotkey, hicon = ci win32gui.MessageBox(hwnd, "Hello", "Wow", win32c