Using windll with complex data types

Ben C benc1 at today.com.au
Sat Nov 2 08:56:01 EST 2002


Hi there,

I have just started to look at the windll module. As such I have been
trauling through numerous posts/google for some clear tutorials /
basic examples on how to map data from Python IO to a dll using the
windll module to no avail (as yet).

Accessing basic functions of a dll ( ie. functions that take basic
arguments such as integers etc) are not a problem. I have found a lot
of snippets for more complex examples which I have experimeted with,
but have not been able to find anything that I could really understand
in it's entirity ... so I have come to ask humbly for advice ...

Is there a tutorial or a faq that answer the q's below? The dynwin
package doesn't seem to have one?

How does one pass reference to a pointer in a function?

How does one retrieve data back from that pointer?

How does one retrieve data back from aggregate data types such as
structures and arrays?

Thanks in advance

Ben



More information about the Python-list mailing list