Re: [Haskell-cafe] C structures

2009-11-13 Thread Vasiliy G. Stavenko
> > > > I need anyones experience. > > Possibly this old post of mine can help: > http://therning.org/magnus/archives/315 > Oh... WHile i was trying to repeat after you, it's become clear to me that this is not actually what I want. I want to create some structure, say data WM = WM {some_in

[Haskell-cafe] C structures

2009-11-12 Thread Vasiliy G. Stavenko
Hello everyone. What about passing complex c-types (structures) to c-functions. More detailed: I have an application in production which was written in Delphi. IT has ability to create pluggable modules to it. Interface realized by sending Win32Api messages to application. function in haskell W