Re: wrappers and c structures

new topic     » goto parent     » topic index » view thread      » older message » newer message

I am currently looking at the DX SDK from MS... I ~should~ have
something going in a few days... As for DX Input i cant guess if or
when...

GV
>Hi,
>
>[ wrappers ]
>
>Has anyone wrapped any parts of Direct X? (or anyone planning to)
>More specifically has anyone wrapped Direct Input?
>
>
>[ c structures ]
>
>For people who are wrapping DLL's, does anyone have a better way to
handle c
>structures?
>Currently I use a very basic way of defining constants of the offsets
of
>each structure element.
>eg
>constant structure_element_red = 0
>constant structure_element_blue = 4
>
>poke4( address + structure_element_blue, #0000FF)
>
>Of course this method means I have to know what data type
>'structure_element_blue' is, otherwise I
>could end up poking a float32, or something else in there.
>
>
>thanks,
>
>-molasses
>

Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu