20 Jun
2006
20 Jun
'06
3:40 a.m.
"Ge van Geldorp" <ge(a)gse.nl> 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.