Mark Hammond skippy.hammond at gmail.com writes:
I've lost some of the context here, but there is a
pythoncom.ObjectFromAddress that looks like it does exactly what you
want - check out the pywin32 docs for details...
HTH,
Mark
Thanks Mark.
It works fine with only this:
Mark Hammond skippy.hammond at gmail.com writes:
I'm not familiar enough with ctypes to know if that makes sense, but I
doubt it - nothing would seem to know the size of the buffer pointed at
by 'x'. You probably need to stick with using a python string object -
ensure the string
I've lost some of the context here, but there is a
pythoncom.ObjectFromAddress that looks like it does exactly what you
want - check out the pywin32 docs for details...
HTH,
Mark
On 14/12/2012 11:04 AM, Gilles Baggieri wrote:
Mark Hammond skippy.hammond at gmail.com writes:
I'm not
I believe a c_void_p is a ctypes construct which aren't supported by
pywin32. You need to convert it to a normal Python type. I'm
guessing it is binary data, so in py2k, you should be able to simply use
buffer(some_string_object). The error message seems to imply you may
even be able
hi,
I'm writing an addin for ms word 2010. It will show a tab named JJ in
which there are two buttons. one labels doo, the other labels doo2.
doo2 should be displayed with customization image(edit.png) but don't
show as expected.
debugging with pythonwin trace collector debugging tool.
On 24/03/2012 6:24 PM, shuwj wrote:
hi,
I'm writing an addin for ms word 2010. It will show a tab named JJ in
which there are two buttons. one labels doo, the other labels doo2.
doo2 should be displayed with customization image(edit.png) but don't
show as expected.
debugging with pythonwin