"Ge van Geldorp" <[EMAIL PROTECTED]> wrote:
- GWL_HINSTANCE is not defined on Win64, hInstance is documented as not required in CreateWindowEx calls
- HINSTANCE hInstance = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE); + HINSTANCE hInstance;
Please use HINSTANCE hInstance = GetWindowLongPtr(hWnd, GWLP_HINSTANCE); instead. -- Dmitry.