On Wednesday, 13 January 2016 at 18:34:14 UTC, Josh Phillips wrote:
extern(Windows)
LRESULT WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)

You just need to explicitly mark it nothrow in the signature. Add `nothrow` to the end of the param list:

extern(Windows)
LRESULT WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) nothrow

and then you'll be cool

Reply via email to