Does D has any support for thunks?
Andre Pany via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jun 25 06:44:48 PDT 2016
Hi everyone,
I have some issue with win32 function SetWindowsHookEx. For this
specific funtion there is no possibility to pass extra data
(pointer to a class instance to be called) to the callback
function.
The general solution seems to use thunks. I found s.th. for c++:
http://www.codeproject.com/Articles/16785/Thunking-in-Win-Simplifying-Callbacks-to-Non-sta
Does D/Phobos has any support for thunks?
Kind regards
André
More information about the Digitalmars-d-learn
mailing list