Re: wrappers and c structures
- Posted by Grape Vine <chat_town at HOTMAIL.COM> Mar 23, 1999
- 503 views
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