Re: [python-win32] RAM with Pywin32 on Windows-64

2010-08-08 Thread Massa, Harald Armin
Michael, I did a quick google for available memory per process win32 on win64 http://www.google.de/search?q=available+memory+per+process+win32+on+win64&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial&client=firefox-a and my first hit is: http://msdn.microsoft.com/en-us/library/aa366778%

Re: [python-win32] Attempt to make executable from Python script

2010-03-31 Thread Massa, Harald Armin
Ron, > I followed the recommendation in your link and got the following result: > > C:\Python26\dist>golden.exe > > Traceback (most recent call last): > File "golden.py", line 2, in > > File "winsys\registry.pyc", line 39, in > File "winsys\security.pyc", line 42, in > File "winsys\_se

Re: [python-win32] Attempt to make executable from Python script

2010-03-30 Thread Massa, Harald Armin
Hello Travel Europe, that is a documented challenge with the excellent WinShell module from Tim Golden. I described in detail how to solve it at: http://www.py2exe.org/index.cgi/WinShell best wishes, Harald On Tue, Mar 30, 2010 at 07:39, travel europe wrote: > Hello, > > I am attempting to

Re: [python-win32] How to get Outlook headers

2010-03-02 Thread Massa, Harald Armin
Antony, for dealing with Outlook I can really recommend http://www.dimastr.com/redemption/ it is around 200 Money Units; and it saves you a lot of challenges ... > I am trying to read the Message date from Outlook, I get the message date > easily by using "PR_TRANSPORT_MESSAGE_HEADERS" only f

Re: [python-win32] How to fetch windows messages from another application ?

2010-01-31 Thread Massa, Harald Armin
Stef, I do not have a readymade solution. But some words to help your googling: what you are looking for is called "hooks" and "intercepting". So please google for "intercept windows messages" or "Windows message hooks" and "windows event hooks". (As the message "mouse entered window" is also ca

Re: [python-win32] Poll: split of adodbapi.py into two modules? (django support)

2009-11-29 Thread Massa, Harald Armin
Vernon, > > accessible to other uses: >    >>> ado_consts.adLongVarWChar >    203 >    >>> ado_consts.ado_type_name(203) >    'adLongVarWChar' >    >>> > > This will break code which expects some of these constants to be attributes > of adodbapi, such as 'adUseClient' and 'adXactBrowse'. that doe

Re: [python-win32] Exception when manipulating paths containing non-ASCII characters

2009-08-28 Thread Massa, Harald Armin
Skip, self.unique_name = os.path.join(dirname, >"%s.%s%s" % (self.hostname, > tname, > self.pid)) > > raising a UnicodeDecodeError: > >

Re: [python-win32] [Fwd: Re: Running the COM MakePy Utility from python]

2009-08-27 Thread Massa, Harald Armin
ut. File > creation then worked. I then took out the small portion of the script I > needed - all the data type constants - and put those in my own module. > Success! > > For the benefit of others, the reason you don't have to specify the > library e.g. ActiveX 2.8, is that you

Re: [python-win32] Running the COM MakePy Utility from python

2009-08-27 Thread Massa, Harald Armin
Grant, that is possible. Just read the makepy.py script within win32com.client, and you will find that someway down main() there is - GenerateFromTypeLibSpec(arg, f, verboseLevel = verboseLevel, bForDemand = bForDemand, bBuildHidden = hiddenSpec) - which does this. BUT, for "sta

[python-win32] patch to makepy.py / genpy.py

2009-07-08 Thread Massa, Harald Armin
Hello, in Version 213 of pywin32 within win32com\client\genpy.py on line 814, within def do_gen_file_header(self): there is the assertion: # You must provide a file correctly configured for writing unicode. # We assert this is it may indicate somewhere in pywin32 that needs # upgrading. assert