[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 defin

[python-win32] Byte arrays and COM

2010-03-02 Thread Dave Cross
Hi All, I'm tying myself in knots trying to pass a byte array between a C++ DLL and python. The simplified IDl looks like this: HRESULT Test([in,out] int *len, [in,out, size_is(*len)] byte* outp); and the implementation does this: STDMETHODIMP CComTestObj::Test(int *len, unsigned char*

Re: [python-win32] Win32Cred build errors

2008-11-27 Thread Dave Cross
tions, if not for all projects, at least for the major ones. 3) An idiots guide to the structure, both physical and logical. I'd like this to work, I really would, the alternative for me is Eclipse! Regards, Dave. ____ From: Mark Hammond [mailto:[EMAI

[python-win32] Win32Cred build errors

2008-11-25 Thread Dave Cross
Hi all/anybody, Win32credmodule.cpp for pywin32 2.5.212.1 insists on finding a header with #define _WIN32_WINNT 0x501 in it. The WinResrc.h file that comes with Microsoft Platform SDK for Windows Server 2003 R2 is only 0x500 so the build fails. As far as I can see, though, this version of the