Just following up from what Tim said:
> However, the error message in Python is often cryptic such as a simple
> "Exception occurred" with the error code.
When DISP_E_EXECEPTION occurs, the object generating the error fills the
data that comes back in the extra tuple. This information has the
ca
See also http://bugs.python.org/setuptools/issue18 - the short story is that
there is a fixed, but unreleased bug in setuptools that still prevents
things working 100%
Cheers,
Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Gundlach
Sent: Wednesday, 6 August
> I noticed just now that if I go to the main page for pywin32 on
> SourceForge and click the big green button, I get taken to the 211
> build instead of the 212:
>
> http://sourceforge.net/projects/pywin32/
>
> Is this intentional?
Nope - fixed now - thanks!
Mark
_
lot!!
2008/8/5 Mark Hammond <[EMAIL PROTECTED]>
I'm not aware of a tool that will turn a python script into a DLL with
arbitrary entry-points. py2exe will let you create DLLs with entry points
suitable for COM objects or ISAPI extensions.
HTH,
Mark
From: [EMAIL PROTECTED]
[ma
> Hi
> Importing some modules[2] in embedded python between Py_NewInterpreter
> and
> Py_EndInterpreter[1] cause memory leak. Not all the modules cause leaks
> (ex
> sys module) but most of them do! And none of them cause any leak when
> they
> are not embedded! What cause this? Is it solveable?
I
> I have python 2.5.1, pywin32 build 212
>
> When using the makepy utility I noticed it used to crash out with the
> following traceback:
Ouch - that is a bug in the typelib dialog - I've opened an issue at
http://sourceforge.net/tracker/index.php?func=detail&aid=2065850&group_id=78
018&atid=5519
Strange - I can't repro this on my outlook box (my Vista 64 box doesn't have
Outlook). It looks like a ^M character ended up in the file in place or the
line ending we expect. Do you have any idea what could cause this? Could
you please open the generated file in a text editor and see if it is o
Python Problems.
Vinay
From: Mark Hammond [mailto:[EMAIL PROTECTED] On Behalf Of Mark
Hammond
Sent: Thursday, August 21, 2008 16:08
To: Vinay Anantharaman; python-win32@python.org
Subject: RE: [python-win32] win32Com.gencache.EnsureDispatch Problems
Strange - I can't repro this on my outloo
Look at the docstring for win32com.client.CastTo (and googling for that will
probably help too)
Cheers,
Mark
> I just discovered a third possibility, and subsequent failure:
>
> >>> obj_i2 = Dispatch(obj, None, Interface_2.CLSID)
> >>> obj_i2.secondaryMethod()
> Traceback (most recent call last
IIRC there is a bug in setuptools that prevented the post-install script
running in an egg - which would prevent those 2 DLLs being copied from
pywin32_system32 to either system32 or next to python.exe. Try copying them
manually, or run 'pywin32_postinstall.py -install'
Mark
> -Original Mess
See also http://bugs.python.org/setuptools/issue18 - it would be great if
you can work out what overlap exists...
Cheers,
Mark
> -Original Message-
> From: Hartmut Goebel [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 4 September 2008 6:05 PM
> To: [EMAIL PROTECTED]
> Cc: python-win32@pyth
Regardless of what 'we' are expecting shortly, we can already find this
support if only we looked (for python 2.6 anyway - other versions will
require us to build it ourselves using vs2008)
Mark.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Dominick Lauzon
Sent: Wednesday,
I'm afraid I've missed most of the context here:
> I have come across this issue, and am equally unsatisfied with the
> solutions I've come up with so far. all of them require the user to
> know
> too much about what's going on, and does not make the import "just
> work".
>
> what if we added a p
I'm still a little lost too, but:
> * I maintain a dll that defines a class that implements I1 and I2. I
> use regsvr to register this dll.
> * I1 and I2 come from a third party, and in order for my dll to work
> properly, it has to implement them (actually I2 is optional).
> * I don't know how
> Well, that implies that the buffer is an in/out variant, not an output.
> I'm not sure how to construct a buffer Pythoncom will correctly
> translate in this instance. Mark, maybe?
I'm not sure - but I'm not even sure it is legal automation to do that:
> LONG lValue;
> lValue = plQueryNote->Ge
> > I just discovered that when I do the exact same thing in Outlook
> > 2003,
> > the problem disappears. I believe it's some sort of settings issue in
> > my
> > version of Outlook 2000. You wouldn't know what that might be would
> > you? If not, I'm sure I can dig it up by comparing.
I'm gues
> I've taken a look, and I can't say I had an "aha" moment, or anything
> like that, but perhaps I have learned something important.
>
> Setting up the COM object seems very straightforward:
>
> Type t = Type.GetTypeFromCLSID("{e04f970b-53ce-420a-86f8-
> 55374677703d}")
>
> component = (basic.I1
ng, so I don't know exactly what
e-mail addresses to send this post to. Let's hope it winds up in the right
place.
Thanks, Keston
_
From: Mark Hammond [mailto:[EMAIL PROTECTED] On Behalf Of Mark
Hammond
Sent: Monday, September 15, 2008 4:06 PM
To: Obendorf, Keston; pytho
An interesting read is http://msdn.microsoft.com/en-us/library/bb776904.aspx
- it shows that lots of interesting state is communicated via SetData calls
with custom formats. The IAsyncOperation interface is also an interesting
distraction.
Cheers,
Mark
From: [EMAIL PROTECTED]
[mailto:[
It is way past time that the pywin32 exception objects grew attributes
instead of only being available via indexing. In other words, instead of
writing:
except win32api.error, exc:
if exc[0] == ERROR_CODE: ...
you can say:
except win32api.error, exc:
if exc.winerror == ERROR_CODE: .
> Hi all,
> this is my first time here. I looked into the archive but found no
> answer to
> a question that probably is simple (I hope).
> I need to implement a COM server and I got the interface in IDL format.
> Unfortunately to me some functions have a declaration like this:
>
> HRESULT func([i
Try passing pythoncom.Empty for the out param - that will provide a VT_EMPTY
param to the object, which it will hopefully accept and fill with the
result.
Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Greg Antal
Sent: Tuesday, 7 October 2008 4:10 AM
To: python-win32@py
> Has anybody run into similiar problems before? Working with a COM
> object that only works properly within PythonWin? Any way to run the
> script from the command line or any other method without relying on the
> PythonWin GUI while having the same effect as running it within
> PythonWin?
This w
> However, in our particular applications several different type
> libraries will
> import the same interface (and hence IID), which means the look into
> GetClassForCLSID will fail since it is really passed an IID which is
> defined in multiple different type libraries.
Eeek. Have you actually i
> [1] On my python (active state 2.5.1), the
> WTSGetActiveConsoleSessionId() function raises NotImplementedError.
> However, I can easily run it by just invoking it through ctypes:
> ctypes.windll.kernel32.WTSGetActiveConsoleSessionId() Is this a bug?
It is a bug, and I've just checked in a fix (
> But, in Imodel, the 'feSelector' attribute is defined as follows:
> "feSelector": (10349, 2, (9, 0), (), "feSelector", None)
> That 'None' at the end is the "resultCLSID" entry, and apparently
> that's how 'feSelector' is supposed to be connected to 'ISelector'.
> I edited PyFemap.py and manual
The 'odbc' module has always had its own 'date' object - an object with a
'value' attribute holding a integer which is supposed to be compatible with
the time module. It predates the datetime module by many years.
As part of the py3k work Roger has been doing, he dropped the custom types
from the
> It seems that the basic Python types are wrapped and
> unwrapped automatically when needed. Is there some way of
> extending this mechanism? Is there a class I can inherit
> from, or a magic attribute I can set, or some registration
> process I can use, to get instances of my class automatically
> It is my opinion that the architecture is flawed,
While you have obviously struck a bug, I need to understand it more before I
can comment further. I'll try and reproduce it using the C++ test object
and IDL file - if you could help do that it would be greatly appreciated and
help a timely solu
> The result in PythonWin trace Collector is:
> Object with win32trace dispatcher created (object=None)
> Object with win32trace dispatcher created (object= instance at 0x015DF210>)
> {----}Traceback (most recent call
> last):
> File "C:Python25Libsite-packageswin32c
> Thanks Mark for the test. I'm running the test on Windows XP and
> Windows 2k,
> both with python 2.5.2. The problem is that the QI with value to 0 is
> raised somewhere in the pythoncom code
I'm pretty sure pythoncom never (explicitly) QI's for IID_NULL. It may QI
for one of its private interf
> haObj = win32com.client.DispatchWithEvents("HAWin32", HAEvents)
> It fails with the error message:
> "TypeError: This COM object can not automate the makepy process - please
> run makepy manually for this object"
At this point, all you need to do is execute makepy, then select the typelib
fo
Search this mailing list for discussions about the COM threading model. In
short, you can't create a COM object on one thread and use it on another -
the object must be marshalled.
Cheers,
Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Mike O'Driscoll
Sent: Thursda
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
> Can I do the implementation of this interface in python using above?
> The implementation the would be then passesed to other COM object.
That should be fine - check out "*pippo*" in the win32com directory for some
examples...
Cheers,
Mark
___
pyt
> Question:
> If I understand correctly this python callback implementation is IE
> implementation dependent. If some new version of IE will start to call
> this callback with [lets say]4 "by_ref" params only. Then this will
> stop work.
>
> Is it possible to write python code independent of numb
> From the web page for the SDK I have. "This release of the SDK is intended
to
> replace the Windows SDK for Vista."
> But this only appears to be 0x500 rather than 0x501.
> Hence my confusion.
There is some confusion regarding these versions. In the Vista SDK, you
will find declarations along
Sandy Walsh wrote:
Hi,
I have a C++ COM Server with an IDL entry of:
[
object,
uuid(D989CB9A-0013-4E1A-BFB6-98A7946BD255),
dual,
helpstring("IFoo Interface"),
pointer_default(unique)
]
interface IFoo : IDispatch
{
[ id(1), helpstring("method Connect")]
HRESULT Connect([
Jim Vickroy wrote:
I notice that the build number appears in:
* pywin32.version.txt
but I was hoping for something similar to numpy or PIL.
I can't see a huge gain in pywin32 opening that file just to make it
available in __version__, and having it manually maintained in a .py
file othe
John_Nowlan wrote:
Sorry to intrude, but I'm hoping this is something stupid. Has anyone
seen this behaviour and know of a fix?
I've searched hi & low, but its hard to find specific info on pythonwin.
Try deleting your "HKEY_CURRENT_USER\Software\Python 2.5" (using
whatever version of Python
On 17/12/2008 12:30 AM, Roger Upole wrote:
Enric Jaen wrote:
It's the library of the Xcalibur, a propietary program used in
proteomics. to read spectra. They provide an API, and VB examples to
access it.
The problem is happening with those methods that return and array, as
the others work fin
On 17/12/2008 1:48 AM, John_Nowlan wrote:
Thanks for the suggestion. Will have to remember.
But I had already gone for the brute force approach and uninstalled
python 2.6 and went to 2.5. That worked.
It hadn't worked when I had just uninstalled pythonwin and reinstalled.
Yeah - uninstalling d
On 17/12/2008 2:54 PM, Roger Upole wrote:
Mark Hammond wrote:
On 17/12/2008 12:30 AM, Roger Upole wrote:
Enric Jaen wrote:
It's the library of the Xcalibur, a propietary program used in
proteomics. to read spectra. They provide an API, and VB examples to
access it.
The problem is happ
On 29/12/2008 5:50 AM, Matthias Ekman wrote:
> Try deleting your "HKEY_CURRENT_USER\Software\Python 2.5" (using
> whatever version of Python you are using) key - this may have garbage
> which causes MFC to get upset as it starts.
deleting "HKEY_CURRENT_USER\Software\Python 2.5" (Python 2.6 in
On 6/01/2009 8:04 AM, Raymond Stewart wrote:
C:\Users\raymond.stewart\Desktop\pywin32-212>setup.py -q build
Try explicitly putting the full path to the python 2.6 python.exe on the
command-line - I'm guessing '.py' is associated with Python 2.5 (and on
Python 2.5 and earlier, you will need to
x27;s not really
a deal-killer - although it might be for the build process! It will
probably be necessary to comment that project out from setup.py to allow the
rest of the projects to build. MFC and ATL only come with the full version
IIUC.
Mark
--- On Tue, 1/6/09, Mark Hammond wrote:
From:
On 9/01/2009 7:46 AM, Adam Pletcher wrote:
imp.load_module(modName, None, modulePath, ('.dll', 'rb', imp.C_EXTENSION))
ImportError: DLL load failed: The application has failed to start
because its side-by-side configuration is incorrect. Please see the
application event log for more detai
On 10/01/2009 12:27 AM, Ben Gordon wrote:
Try something like:
#Now, the "cast"
mod = gencache.GetModuleForTypelib(typelibB_CLSID,0x0,1,0)
pB = mod.InterfaceB(pA)
> pB = mod.InterfaceB(pA.QueryInterface(IID_B, pythoncom.IID_IDispatch))
> "CastTo" fails because "The interface does not
appear i
On 10/01/2009 4:59 AM, Adam Pletcher wrote:
We don't appear to have any .assembly files, even after building
Python or pywin32, so I think I'm missing something. Could you
elaborate a bit, Mark?
Oops - I misspoke - you are looking for a .assembly file - but it comes
with VS rather then being
On 10/01/2009 9:56 AM, Lewis, Jeffrey G wrote:
I am working with Python 2.5.2 and pywin32-212.win32-py2.5.exe.
I figured out how to install Python 2.5.2 so that no user interaction is
required.
Are there command line options available for pywin32-212.win32-py2.5.exe
so that it will just go ahea
On 11/01/2009 5:34 PM, Ben Gordon wrote:
Mark,
MH> pB = mod.InterfaceB(pA.QueryInterface(IID_B, pythoncom.IID_IDispatch))
Thanks so much for the suggestion. I tried it, but it appears that pA
does not provide a QueryInterface method.
oops - try pA._oleobj_.QueryInterface(...)
I'm not sure w
On 12/01/2009 9:37 AM, Ben Gordon wrote:
Mark,
MH> oops - try pA._oleobj_.QueryInterface(...)
I just tried that too. Now, the cast "succeeds" as before (according to
"print pB"), but the method call ["Count()"] still fails in the same way
as before too.
I appreciate the help, though! Even if w
Hi all,
As we've discussed before, the pywintypes Time object is fairly
fundamentally broken. While the next pywin32 build for Python 2.x will
still use the old time objects, I think it makes sense for the py3k build to
make that switch unconditional from the very first release (its getting much
Thanks for the comments Paul.
> Is there a reason you don't see assuming a timezone of
> win32timezone.GetLocalTimeZone() as a reasonable option?
Not really - I think I was just looking at it from the POV of the win32
structures. You make a good case for using the local time, but there may
still
Don't execute the service without args. You generally want:
MyService install
MyService start
...
MyService stop
Although the 'start' and 'stop' is *normally* done simply by setting
the 'auto-start' properties of the service.
Cheers,
Mark
On Sat, Jan 17, 2009 at 12:35 PM, Richard Zinn wrote
On Sun, Jan 18, 2009 at 10:26 PM, Yaron Charka wrote:
> I'm trying to install pywin32 on an XP machine.
In that case you should just grab a binary from sourceforge.
> I was first requested to install vs2003 which I couldn't find. Installing
> vs2008 didn't solve the problem either.
pywin32 is
On 20/01/2009 1:35 AM, le dahut wrote:
Hello,
I've written a python network app in which the server runs on a
Samba-PDC (NT Domain controler) and the client on the windows NTdomain
clients.
I want to authenticate the connexions to the python server using a
transparent method.
Is there a way to
At the end if
this, all you get is a token which identifies the user, and depending on
a number of things, the ability to impersonate that user.
Cheers,
Mark
Mark Hammond wrote :
On 20/01/2009 1:35 AM, le dahut wrote:
Hello,
I've written a python network app in which the server r
On 21/01/2009 6:13 AM, Gary Scorby wrote:
You are correct, it no longer refers to the object. I should have added
a few more details. Windows still believes the object is in use, in this
case it’s a dll. Nothing else can be done with the dll until Python is
completely shut down. None of the othe
On 22/01/2009 3:33 AM, Brad Johnson wrote:
I have embedded the Python interpreter into a COM application. In this
application, I create worker threads that execute Python code.
I marshal some COM objects that live in the UI thread of the application over to
the worker thread and wrap them with E
On 22/01/2009 9:38 AM, Brad Johnson wrote:
However, while it is waiting for the
GIL in the UI thread (when the worker thread has it), it is locked into a
WaitForSingleObject call (some layers below PyGILState_Ensure).
Obviously the GIL can only be held by one thread at a time. The
question then
On 23/01/2009 4:49 AM, Brad Johnson wrote:
So one your thread has acquired the GIL, one of 3 things happens:
* It returns quickly and the GIL is released.
* It executes many many instructions: every 'n' instructions Python will
temporarily release the GIL for you.
* It calls some other blocking
On 24/01/2009 9:34 AM, Jonathan Rivera wrote:
Hello all,
i need to run a program to ask for a password, but i need this program
will be the only accessible window on the screen, so i want to lock
the screen but no my window.
i see an example in vb and it say i may to use this:
' Tell the system
32 bit
(Intel)] on win32.
Portions Copyright 1994-2006 Mark Hammond - see 'Help/About PythonWin'
for further copyright information.
Traceback (most recent call last):
File "boot_com_servers.py", line 21, in
File "C:\Python25\lib\site-packages\pythoncom.py", line 3
installed python followed by pywin32. When I run
Pythonwin and try to open a file, I got the following (different) error
message:
PythonWin 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
(Intel)] on win32.
Portions Copyright 1994-2008 Mark Hammond - see 'Help/About Python
Hi all,
I'm very happy to declare the merge of Roger's py3k branch 'complete' - by
which I mean all changes have been merged, and comparing the py3k branch
with the trunk after running 2to3 yields identical trees except in a few
insignificant directories - and it works :) Work still remains to b
On 30/01/2009 5:09 AM, Gustavo Tabares wrote:
Hi all,
I'm having a problem when opening and enumerating a network resource
many times. For example:
i = 0
while i< 1:
handle =
win32wnet.WNetOpenEnum(win32netcon.RESOURCE_CONNECTED,
win32netcon.RESOURCETYPE_ANY, 0, None)
par
On 30/01/2009 10:54 AM, Michel Claveau wrote:
Hi!
When I try to install pywin32-212.6.win32-py2.6.exe, I had a "SideBySide
error".
Below, the complete message found in the journal of applications.
Any idea, for solution ?
Thanks in advance.
Oops! It appears that in the process of applying s
> OK, but... over night, after a (good ? long?) sleep (with several
> dreams,
> where Pywin32 run without problem of DLL loading with Python 2.6.1 &
> import socket...)
The changes in these builds will not have any affect on Python's inability
to load modules when the CRT isn't installed globally
Thanks for testing this.
> - With the same conditions as yesterday, your new installer
> (pywin32-212.7.win32-py2.6.exe) run OK. But, after, it's my softwares
> who
> have SxS problem!!!
What problems exactly?
IIUC, we have determined that unless the CRT assembly is installed globally,
every .DL
Please file a bug and I'll try and nail it before the next release
(pythonwin itself is now much more unicode aware - it now even allows
each file to have its own encoding - but I'm yet to implement the
encoding detection beyond detecting a BOM...)
Note I'm not that familiar with changing lang
On 31/01/2009 9:08 AM, bob gailer wrote:
Bug? Can't resize watch window when displayed on 2nd monitor.
This works for me on Python 2.6, but does behave strangely on Python
2.5. I suspect this is a bug in MFC fixed in the later version used by
2.6 builds.
Cheers,
Mark
_
On 31/01/2009 11:23 AM, Tim Roberts wrote:
Mark Hammond wrote:
IIUC, we have determined that unless the CRT assembly is installed globally,
every .DLL or .EXE which references the VC9 CRT must have a copy of that CRT
next to itself. For example, if python26.dll references the CRT and
On 31/01/2009 4:16 PM, Mark Tolonen wrote:
"Mark Hammond" wrote in message
news:4983818b.1090...@gmail.com...
Please file a bug and I'll try and nail it before the next release
(pythonwin itself is now much more unicode aware - it now even allows
each file to have its own enc
On 31/01/2009 5:07 PM, Vinay Anantharaman wrote:
...
The
documentation(http://www.vmware.com/support/developer/vix-api/vix16_reference/lang/com/functions/GetProperties.html)
says this:
This function does not apply in VBScript, since it is not possible to access
the IVixHandle interface of an
On 3/02/2009 10:51 AM, Aditya Jayraman wrote:
Hi
I am a newbie to pywin32 and windows programming.
I am trying to achieve NTLM authentication using the win32security and
sspi modules.
Basically what I need to do is "verify the client's response to the
server's challenge", like what a DC would
On 5/02/2009 1:18 AM, Michel Claveau wrote:
return cmp(self._oleobj_, other)
TypeError: The Python instance can not be converted to a COM object
I solved the problem, by replace != by not(...is...) ; then, it's OK for
me.
But, I think than the error in cmp can affect others scripts developers
On 5/02/2009 4:00 PM, Eric Blade wrote:
It appears that sometime in the last year, year and a half or so,
someone made the necessary changes to win32file to get
ReadDirectoryChangesW up and working in Asynch mode, which is
something that I would find very nice to be able to use right now ..
howev
On 5/02/2009 9:40 AM, Zdenek Mejzlik wrote:
File "c:\python25\lib\site-packages\win32com\client\gencache.py", line
109, in _LoadDicts
version = p.load()
EOFError
This is an error loading 'dicts.dat' from the win32com\gen_py directory.
The management of this file is very crude and doesn't prot
> Thanks, Mark. That's a lot more complex than what I need to
> implement, and it'll take some time to digest, but even so, it's way
> better than the docs that look like someone updated them a bit at a
> time.
Actually, win32\test\test_win32file.py's example might be simpler to digest
- if you l
On 5/02/2009 6:33 PM, Michel Claveau wrote:
And, I am sorry to have
disturbed this rhythm.
Not at all - I put these builds up exactly for this reason - it was just
luck that I stumbled across the issue first (surprisingly, the test
suite never actually tested a com object against None and I f
On 5/02/2009 5:10 AM, Vernon Cole wrote:
Okay, group, I'm opening this up for discussion...
Is my routine wrong, or is the test flawed?
This test works fine at my house, U.S. Mountain Standard Time.
When I change my Windows time zone to Brisbane, it fails here like it
does for Mark.
I'm star
On 23/01/2009 11:40 AM, Matt Herbert (matherbe) wrote:
Hey all,
Just wondering if there is a way to differentiate Windows Server 2008
from Windows Vista? All the normal methods I would use aren't cutting
it. For instance, sys.getwindowsversion() and platform.uname() are
returning exactly the sam
On 8/02/2009 7:06 PM, Christian K. wrote:
write should return the number of bytes written but it returns None
here.
It appears Roger fixed this on 2007/08/07 and the fix was in builds 211
and 212.
Cheers,
Mark
___
python-win32 mailing list
python-
On 10/02/2009 7:39 AM, Eric Blade wrote:
Eric Blade wrote:
I am getting significantly unreliable results using
ReadDirectoryChangesW, attempting to use a simplified version of the
codes that had been presented to me in my last query for help..
Eric, can you say what results you *are* getting an
On 10/02/2009 4:12 AM, Stephen Hansen wrote:
Hi all.
I have an application that's controlling Word via COM, and have
situations where I'd like to set a timeout on those operations. Word
might throw up an error message for example which stalls everything
until clicked. In such a case I'd rather j
On 11/02/2009 3:15 AM, Vernon Cole wrote:
My feeling is "yes", because
1) the Python 3.0 version of pywin32 will return COM date-times as
datetime.datetime
2) mx.DateTime is not (yet?) available on Python 3.0 nor IronPython
3) as William said, it IS weird to silently change when mxbase is loaded
> My app consists of 2 scripts. The first one is an infinite loop which
> calls periodically the second script. The first script does not work
> with COM. The second script makes one instance of COM, calls some its
> methods and ends. The first script waits until the second one finishes
> its job s
On 12/02/2009 6:58 PM, Michel Claveau wrote:
Re!
You think 700 microseconds for a COM transaction is slow? Perhaps it
is your expectations that need adjusting.
When I get an array of data (for example, numbers), the (same) list
conversion (len=1000) take 0.07 s
But with array of object, it is
On 13/02/2009 2:35 AM, Christian K. wrote:
Mark Hammond schrieb:
On 8/02/2009 7:06 PM, Christian K. wrote:
write should return the number of bytes written but it returns None
here.
It appears Roger fixed this on 2007/08/07 and the fix was in builds
211 and 212.
I suppose I am using a
On 13/02/2009 5:59 AM, Pollack, Steven K wrote:
I am trying to write a python based glue to orchestrate interaction
between Access, Excel and Outlook.
I understand events reasonably well, can DispatchWithEvents an instance
of excel and catch worksheet and file save related events. but can’t
figu
On 14/02/2009 12:56 AM, Christian K. wrote:
So write seems to work as expected (reporting the right number of bytes)
but I have no clue *where* the data is written to. The mail body stays
completely unaffected.
I guess step 1 would be to see if you can re-read it - ie, is the data
not getting
Hi all,
I'm extremely happy to announce the release of pywin32 build 213 - the
first release of pywin32 with support for Python 3.x.
This release has a large number of changes and should, in general, be
considered BETA quality - please refer to the release notes below for
details. The full chan
On 17/02/2009 6:17 PM, Shaer, Neta wrote:
Hello,
I’m using python 2.5 on windows (32 bit).
I'm using some COM object from python.
One of the functions in this COM objects expects VARIANT and operate
according to the type of this VARIANT.
The thing is that it does one thing if the VARIANT type i
On 16/02/2009 11:50 PM, Mark Hammond wrote:
Hi all,
I'm extremely happy to announce the release of pywin32 build 213 - the
first release of pywin32 with support for Python 3.x.
This release has a large number of changes and should, in general, be
considered BETA quality ...
I'm n
On 26/02/2009 3:56 AM, Boris Borcic wrote:
Hello,
I just moved a python ISAPI between servers, the code works fine except
that "import win32traceutil" doesn't work any more for the ISAPI.
On the other hand, "import win32traceutil" in a small test program run
either from the pythonwin environmen
On 3/03/2009 12:10 PM, Patrick Li wrote:
Hello,
I have a python program that needs to launch an executable (it is an
installer executable) that requires admin privileges. This works fine
on XP and Vista machines where UAC is turned off. On Vista machines
with UAC on, however, it doesn't appear
On 4/03/2009 8:59 AM, Greg Ewing wrote:
Given a PyAssocObject, is there some way of finding
the object that was attached to it with AttachObject?
Apparently not from Python. It would be easy to add, but I guess that
doesn't help you much now (or parse the repr() and use ctypes to de-ref
the
On 4/03/2009 12:01 PM, Greg Ewing wrote:
If you do happen to add this, another thing you might
want to investigate is why PyCCmdUI isn't automatically
doing this when you read the m_pMenu property, as seems
to happen in most other places if you call a method
that returns a wrapped MFC object.
On 7/03/2009 12:46 PM, Greg Antal wrote:
there I've missed it. (Do I have to deal with Monikers and the
RunningObjectTable myself? If so, exactly what are the arguments for the
ROT's "Register" method?)
I'm afraid you do, and I'm afraid I can't point you at a reference at
the moment (if I coul
1 - 100 of 1201 matches
Mail list logo