Interessting stuff, especially since the internals of bennu are kind of mysticial/magical to me. This material is a good for the wiki.
I have always wondered if dll's (or modules) for bennu have to be written exclusively in C, or if it's possible to write them
in pascal too. I know Lazarus has a feature to convert c header files to pascal. I'm not too familair with C, I just wonder if I
could create a dll version of dykodialogs. Just a side note, there once was a module called mod_ffi, that allowed to invoke os
api's from a bennu program. Why has it disappeared? Because it could be really handy for some things.