Re: [python-win32] Exception setting a string using COM

2008-06-02 Thread shurik
I was able to resolve this. The file application was interacting with resided on a network share. Once I copied it to a local volume I was able to manipulate the string without a problem. Thanks, Aleksandr Tim Roberts wrote: Aleksandr VLADIMIRSKIY wrote: I'm attempting to set a string

Re: [python-win32] building pywin32 on Server 2003 x64

2008-06-02 Thread Hanni Ali
Hi Mark Pedantic side-note: best I can tell, all the compilers are x86 binaries, so even on a 64bit OS, we are still cross-compiling :) You are of course correct, I should have said I am developing on a 64 bit machine. Grab the source .zip for build 211 now it is fresh, but otherwise, a

[python-win32] pythoncom warning: PyVARDESC

2008-06-02 Thread Michel Claveau
Hi! Since release 211, I have dozens dozens messages, like this: pythoncom warning: PyVARDESC ctor has unknown varkind (3) - returning None pythoncom warning: PyVARDESC ctor has unknown varkind (3) - returning None pythoncom warning: PyVARDESC ctor has unknown varkind (3) - returning None

Re: [python-win32] Vista, _winreg and Access denied

2008-06-02 Thread le dahut
Hello, I've passed some time reading the MS coding guide for Vista http://msdn.microsoft.com/en-us/library/bb756973.aspx It explains that an app requiring administrator rights (modify HKLM, write in C:\Windows\, etc.) will always return Access denied or ask the user for UAC if it's launched

Re: [python-win32] pywin32 build 211 released

2008-06-02 Thread Vernon Cole
Mark: The main download link at https://sourceforge.net/projects/pywin32/ is still pointing to version 210. My quick test of 211 seems fine. In particular the adodbapi project software lands just where it should and works just as it should. As soon as the pywin32 main download is switched to

[python-win32] adodbapi SQL access micro how-to (pywin32 build 211)

2008-06-02 Thread Vernon Cole
I've just had a success story with the adodbapi now included in build 211, and thought it would be a good idea to let everyone know how to do it. My application ran a very gnarly SQL script against master..sysprocesses to identify blocked SQL requests. It tended to crash python when the MSSQL

Re: [python-win32] Exception setting a string using COM

2008-06-02 Thread Aleksandr VLADIMIRSKIY
Hello Tim, Thank you for your reply. I tried to use the setPath method and no luck: In [26]: item.setPath('') --- exceptions.AttributeErrorTraceback (most recent call last) C:\coe\ipython

Re: [python-win32] pywin32 build 211 released

2008-06-02 Thread Mark Hammond
Seeing as nothing has caught fire in the few days since I made the release, I updated the SF page to point at build 211 - it does still have a note that b210 is the most recent stable version, so I think it's a good compromise :) Cheers, Mark From: [EMAIL PROTECTED] [mailto:[EMAIL

[python-win32] pywin32 build 211 released

2008-06-02 Thread Roger Upole
Mark Hammond wrote: Seeing as nothing has caught fire in the few days since I made the release, I updated the SF page to point at build 211 - it does still have a note that b210 is the most recent stable version, so I think it's a good compromise :) Cheers, Mark Now that you mention it,

[python-win32] adodbapi SQL access micro how-to (pywin32 build 211)

2008-06-02 Thread Roger Upole
Vernon Cole wrote: I've just had a success story with the adodbapi now included in build 211, and thought it would be a good idea to let everyone know how to do it. My application ran a very gnarly SQL script against master..sysprocesses to identify blocked SQL requests. It tended to crash

Re: [python-win32] pythoncom warning: PyVARDESC

2008-06-02 Thread Mark Hammond
Since release 211, I have dozens dozens messages, like this: pythoncom warning: PyVARDESC ctor has unknown varkind (3) - returning None pythoncom warning: PyVARDESC ctor has unknown varkind (3) - returning None pythoncom warning: PyVARDESC ctor has unknown varkind (3) - returning None

Re: [python-win32] USB CDC-class support with win32file, exception processing issues

2008-06-02 Thread Mark Hammond
I'm afraid I don't have many insights. Using overlapped IO may solve your problem of not knowing if an error occurred or not, but I don't think it will solve your general problem. One thing that might be worth looking at are device notifications, which may be able to inform you of the removal -