windll question
calishar at my-deja.com
calishar at my-deja.com
Thu Dec 2 13:52:31 EST 1999
Hi Folks,
Thanks to some good advice earlier this week, I am now playing around
with calldll and windll, and thanks to a post from Eric Jacobs (the
Prototype lambda function) it is a lot easier now.
Unfortunately (you knew there had to be a but right?) there are two
things I can not figure out how to pass. One is a struct, and the other
is a word (c word, not english word).
I'm not sure what a word is (I know it is a variation of integer,
does that mean I can just use i in the format string?) but I have no
clue what format string to use for a struct, or how to construct it in
Python.
If one of the Pythonistas could spare some time to help me out with
this, it would be greatly appreciated. Bascially I think what I need is
a step by step guide interfacing with external dll's.
Also, I followed some of the advice passed on in here earlier on, on
setting up my calldll and dynwin distributions. Well, I can run the
dlldemo script, and get the message box saying my double-click speed
is.... but when I click OK I get an error in the command line window.
'npstruct module error: unsupported byte order code'
followed by three errors about 'None' objects not having
a 'free_library' attribute. Is this normal for the package at the
moment?
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list