On 10.03.2017 21:21, Fabian Maurer wrote:
+typedef struct +{
- const TASKDIALOGCONFIG *task_config;
- HWND hwnd;
+}taskdialog_info;
It doesn't look very safe to keep original pointer here. If you only need callback pointer and user callback data, store them directly.