1 Sep
2016
1 Sep
'16
9:09 p.m.
On Thu, Sep 1, 2016 at 11:03 PM, Matteo Bruni <matteo.mystral(a)gmail.com> wrote:
Also you don't need to cast, just use MAKEINTRESOURCEW() (see for example notepad/dialog.c). I did at first, but with gcc 5 I got ugly warnings.
Ah, interesting. Does notepad also generate those warnings?
No, it doesn't. I see now, I didn't notice the difference between what I did and your suggestion (MAKEINTRESOURCE vs MAKEINTRESOURCEW). It's only the former which triggers the warning (and from winuser.h, this seems intentional).