Re: [python-win32] COM server and pointer to pointer parameter

2008-11-25 Thread ricercar
At 09.35 13/11/2008 +1100, you wrote: >That is another clue that makes me think the marshaller might be involved. >Have you changed pippo to only support out-of-process registration? >Cheers, >Mark Sorry for replying late, I had some problems and I could not do tests on pippo_server before. Wel

Re: [python-win32] COM server and pointer to pointer parameter

2008-11-12 Thread ricercar
>I'm afraid that with the exact same process (although the 'print' says >'print "QI", iid' - using python 2.6 on vista) I see exactly: > >| Object with win32trace dispatcher created (object=None) >| Object with win32trace dispatcher created (object=instance at 0x02AD8210>) >| QI {F1A3CC2E-4B2A-4A81

[python-win32] COM server and pointer to pointer parameter

2008-11-11 Thread ricercar
Hello, some weeks ago I posted a message, and opened a bug ticket, but got not reply. Probably few of us are working with servers or dealing with pointer to pointer parameters (or simply have no time). Anyway I try to post the request once again, maybe somebody missed the issue. (Unfortunately at t

Re: [python-win32] COM server and function parameters (debug with pippo)

2008-10-16 Thread ricercar
I have the same problem with pippo_server, the test file in the win32com package. I don't know if somebody can have more info from this. I used a client written with python and comtypes and, with a little effort I can see the call to QueryInterface with IID_NULL (as happens if the caller is a C++

Re: [python-win32] COM server and function parameters

2008-10-16 Thread ricercar
At 10.31 15/10/2008 -0700, you wrote: [EMAIL PROTECTED] wrote: > Hi all, > I still have some problems with my server. > > I have a function that should return three parameters defined as: > > HRESULT GetInfo([out] BSTR *name, [out] BSTR *version, [out] BSTR > *description); > > If I return a tuple

Re: [python-win32] COM server and function parameters

2008-10-15 Thread ricercar
Hi all, I still have some problems with my server. I have a function that should return three parameters defined as: HRESULT GetInfo([out] BSTR *name, [out] BSTR *version, [out] BSTR *description); If I return a tuple with three string I get an error saying that the number of returned parameter

Re: [python-win32] COM server and function parameters

2008-10-01 Thread ricercar
At 09.19 02/10/2008 +1000, you wrote: >Just return a string - pythoncom will do the SysAllocString() for you. >Please see the 'pippo' examples in the win32com directory - they show how to >hookup a typelib with your com object implementation. It's incredible how simple is the answer, I searched a

[python-win32] COM server and function parameters

2008-10-01 Thread ricercar
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([in] BSTR param1,