"Juanjo Alvarez" <f...@fakeemail.com> wrote in message news:almarsoft.3733950694952420...@news.digitalmars.com... > Sorry for asking here something that should go to D.learn, but how do you > do the reverse, that is, getting a function from a delegate? I need that > in my project so I can pass it to signal so some Unix signal will trigger > a method of an already instantiated object.
I wrote some code a while back that lets you forward a windows callback to any delegate. It might be a good starting point for what you want. http://yebblies.com/thunk.d