Аlkin Nasuf schrieb: > Hello everyone, > > I've recently switched from pywin32 to comtypes, since comtypes can > transform tuples to one-dimensional safearrays. > My problem is that when I dispatch the object using comtypes its properties > are not correctly differentiated e.g some methods are flagged as attributes, > but they are methods. > In pywin32 this is solved by "_FlagAsMethod" function, which flags selected > attribute as method. > Does anybody know if I can do the same thing in comtypes? > If not how I can get around this problem i.e. how I can flag some properties > in comtypes as methods?
Can you describe the problem in more detail? For example, post the IDL code or the type library that contains the description for these methods? Or, even better, is the com object available somewhere so that I can reproduce and examine the problem? -- Thanks, Thomas ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users