>
> Nice. How much extra work to allow strings into structs, i.e.
> helper func makes any combo of string. signed/unsigned int into
> struct?
Maybe pointers to strings which would have to be existing PowerPro
variables. But it may be getting to esoteric.
It would have to be something like:
win.makestruct("varstruct#ussiu",var1, var, var3, var4, var5")
win.dllcall("path/to/dll.ext#routine#r",varstruct)
Using # as delimiter.
Note that the output variable has to be specified in the
makestruct. You could _not_ use
varstruct = win.makestruct(...)
as the assignment would fail if there were embedded zero bytes in
the struct.
The win.dllcall is using r (record) as signature character for
struct. The win.dllcall would have to embed a description of the
structure in the bytes it outputs into varname somehow.
This is an interesting intellectual exercise but I suspect I will
not bother to try to implement it. If you want to try, let me know
and I can put the code back into win unless you want to do another
plugin.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/