Wong, Shin Guey schrieb: >>Message: 4 >>Date: Mon, 27 Oct 2008 20:52:09 +0100 >>From: Thomas Heller <[EMAIL PROTECTED]> >>Subject: Re: [comtypes-users] Problem on access propput and propget >> functions >>To: comtypes-users@lists.sourceforge.net >> >>Sorry for this too late reply - I must somehow have overlooked this all the >>time. > > Well, it's fine. I am glad that you replied my email. In the mean > time, we are using the win32com now. But I hope to be able to convert > it to comtypes soon because most of the others com object we have are > using comtypes. > >>There is probably a problem with property accesses that use [in, out] >>parameters. >>Is the com object that you use publicely available somewhere? > > No, this is a com object use internally in our company. However, I > have the source code and I can create some prototype for the com > object for testing. I am busy with other stuff now and it is working > with win32com now. I will retry again later. and update you if I have > any problem. >
Fine. Maybe, you can explain why there are parameters marked [in, out] in propput methods? > Here is the generated python script by comtypes: > =================================================================== > COMMETHOD([dispid(1745027074), 'propput'], HRESULT, 'HeadCount', > ( ['in', 'out'], POINTER(c_short), 'None' )), > COMMETHOD([dispid(1745027074), 'propget'], HRESULT, 'HeadCount', > ( ['retval', 'out'], POINTER(c_short), 'None' )), > COMMETHOD([dispid(1745027073), 'propput'], HRESULT, 'CommPort', > ( ['in', 'out'], POINTER(c_short), 'Head' ), > ( ['in', 'out'], POINTER(c_short), 'None' )), > Thomas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users