Re: cffi.e
- Posted by petelomax Feb 20, 2021
- 981 views
AlexXX said...
I found that this behavior happens if the hWnd field is not filled in
Did you manage to solve it then? Presumably as follows (works for me)
-- set_struct_field(idNOTIFYICONDATA,pNOTIFYICONDATA,"hWnd",MainWin) set_struct_field(idNOTIFYICONDATA,pNOTIFYICONDATA,"hWnd",getHwnd(MainWin))