Re: Win32 with D: Using RegisterClassExA instead of RegisterClass

2014-01-29 Thread BeschBesch
You need to fill in the cbSize field like so: wce.cbSize = WNDCLASSEXA.sizeof; Ungh. How embarassing. Now it works, thank you.

Re: Win32 with D: Using RegisterClassExA instead of RegisterClass

2014-01-28 Thread John Chapman
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

Win32 with D: Using RegisterClassExA instead of RegisterClass

2014-01-28 Thread BeschBesch
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