Re: [python-win32] New win32com.client.VARIANT object

2011-10-12 Thread Michael Illgner
2011/10/12 Graham Bloice : > I think this feature is great, the use case I run across most often is the > last one mentioned, where the IDL specifies a VARIANT parameter but the COM > object is actually much more picky about the accepted types. That sounds great, but I just switched to comtypes :-

[python-win32] Python COM arguments types

2011-09-29 Thread Michael Illgner
Hi folks, I have some problems calling a specific COM method with VARIANT parameters, the documentation of the COM library says HRESULT LoadDispTotal( [in] BOOL bSync, // Must be FALSE [in] VARIANT *pvarBills, // Long array [in] VARIANT *pvarCoins, // Long array [out, retval] long *nRetVal // 0 i

Re: [python-win32] DispatchWithEvents

2011-05-05 Thread Michael Illgner
2011/5/5 Mark Hammond : > [re-added the mailing list - please keep everything there] > Sorry, my fault > On 4/05/2011 6:09 PM, Michael Illgner wrote: >> >> 2011/5/4 Mark Hammond: >>> > The question is more about the object xyz.xyz - if it is marked in the > r

Re: [python-win32] DispatchWithEvents

2011-05-03 Thread Michael Illgner
2011/5/3 Mark Hammond : > There is nothing magic about events - you need to provide your own magic :) >  All the calls are still normal blocking calls - so if you want a model > where methods on your com object are done in the background and fire when > complete, you need to fully arrange for howe

[python-win32] DispatchWithEvents

2011-05-03 Thread Michael Illgner
Hi I have got some questions regarding win32com.client.DispatchEventWithEvents() Is there any documentation available for this method? I am writing a kind for a network proxy for a custom COM api. and I am using a simple socket server based on the standard python classes. The implemented request