You need to fill in the cbSize field like so:
wce.cbSize = WNDCLASSEXA.sizeof;
Ungh. How embarassing. Now it works, thank you.
On Tuesday, 28 January 2014 at 21:17:18 UTC, BeschBesch wrote:
My problem: Using WNDCLASS and RegisterClass works out fine but
when I try the Ex-versions (RegisterClassExA/WNDCLASSEX) windows
returns a INVALID_PARAMETER error, though I did not change
anything besides adding "Ex".
Where is the mi
So, I wanted to try out D as a better alternative to C/C++ and
now I bump into some minor problems. Basically, it seems the
WinAPI is limited to D.
My problem: Using WNDCLASS and RegisterClass works out fine but
when I try the Ex-versions (RegisterClassExA/WNDCLASSEX) windows
returns a INVALID_PAR