[python-win32] pywin32 build 210 released

2006-09-22 Thread Mark Hammond
Hi all, I've just released pywin32 build 210. As usual, lots of thanks go to Roger Upole who again contributed significant changes - the full change notes are at: https://sourceforge.net/project/shownotes.php?release_id=449591 Now that 2.5 has been released, you will also find a 2.6 package for

Re: [python-win32] Newbie question

2006-09-22 Thread Tim Roberts
Mark C. Brighton wrote: Hello, I don't really have experience using win32com and I'm running into a problem. I'm trying to use a COM object. Several of the functions take strings as arguments, but when I pass in a string I get an exception: import win32com.client

Re: [python-win32] How to implement a COM interface (that is notpart

2006-09-22 Thread Mark Hammond
> Is the custom of passing an object that implements an interface as an > argument to a COM function an unusual one? Yes - but you must be careful of threading rules - ie, you can *not* simply pass the pointer to a different thread that make the actual callback. > I've searched for other > COM f

Re: [python-win32] Setting string properties

2006-09-22 Thread Mark Hammond
The only thing I can notice is: > AttributeError: ' Objects).IPanScriptTFOSlice instance at 0x11496344>' object has no > attribute 'Value' ... > class IPanScriptTFOSlice2(DispatchBaseClass): > """PanScript TFO Slice.""" > CLSID = IID('{6BA870D0-055A-11D4-ABE3-00C04F9D382F}') ... Note that

Re: [python-win32] Newbie question

2006-09-22 Thread Mark Hammond
> Hello, I don't really have experience using win32com and I'm > running into a problem. I'm trying to use a COM object. > Several of the functions take strings as arguments, but when > I pass in a string I get an exception: ... > > The documentation claims that the argument is a pointer to a

[python-win32] Newbie question

2006-09-22 Thread Mark C. Brighton
Hello, I don't really have experience using win32com and I'm running into a problem. I'm trying to use a COM object. Several of the functions take strings as arguments, but when I pass in a string I get an exception: >>> import win32com.client >>> o=win32com.client.gencache.EnsureDispatch("AT9

Re: [python-win32] Module not found weirdness

2006-09-22 Thread Derick Van Niekerk
I'll uninstall everything in that hijaakthis.log and add them one by one until something breaks. Assuming it works when I uninstall everything :-\ -d-Even after completely uninstalling every memory resident program I installed, I still get the same error:pywintypes.error: (126, 'SetClipboardViewer'

[python-win32] Setting string properties

2006-09-22 Thread Ben . Young
Hi there, Am I being stupid somewhere here? I have a class defined (code below) which has a property which is get and put. Here is a sample session of using it: >>> slice.Value u'18.00' >>> slice.Value = "19.0" Traceback (most recent call last): File "", line 1, in ? File "c:\Python24\l

Re: [python-win32] Module not found weirdness

2006-09-22 Thread Derick Van Niekerk
On 9/21/06, Tim Roberts <[EMAIL PROTECTED]> wrote: Derick Van Niekerk wrote:> Here's my log file...>> I hope it helps with figuring out the problemWell, there's a lot of stuff running here, but nothing that immediatelystands out. You're running both D-Link's AirPlus G utility and the Alpha Networks