[python-win32] MIDL MakePy

2010-03-04 Thread Dave Cross
Hi all, Can anyone explain how MakePy interprets COM IDL? If I define: HRESULT Test([out] byte* outp); Makepy generates: method Test return self._ApplyTypes_(3, 1, (24, 0), ((16401, 2),), u'Test', None,outp) and I can interpret (16401,2) as VT_UI1, BYREF and OUT. If, however, I define:

Re: [python-win32] MIDL MakePy

2010-03-04 Thread Tim Roberts
Dave Cross wrote: Can anyone explain how MakePy interprets COM IDL? Well, remember that MakePy does not interpret IDL. MakePy reads the TLB, which is the compiled version of the IDL. By the time MakePy sees it, it's already been through one level of interpretation. If I define: HRESULT