Hi again, and thanks for your invaluable help. Indeed, John Schultz hits the nail right on the head, since what I need is that the events fire a method on a particular class instance rather than a regular C function.
Daniel thanks a lot for introducing me to Wisp. I'll keep an eye on it.
Regards,
Erik