> What's the best strategy for accessing fields in someone > else's C struct? > Should I write my own glue file with accessor functions? Or > should I make > a Storable instance for the struct? I wrote some stuff on accessing C structs from Haskell recently which might be useful: http://www.haskell.org/pipermail/ffi/2002-September/000720.html Cheers, Simon