Skip to content

‘GWL_USERDATA’ was not declared in this scope #1

@tdtc-hrb

Description

@tdtc-hrb

Windows 10 1809(x64)
Cygwin: 3.4.9-1
Gcc: 11.4.0-1
Make: 4.4.1-2

HTMLWindow.cpp:119: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLP_USERDATA’?
119 | SetWindowLong(hwnd_, GWL_USERDATA, (LONG)this);

HTMLWindow.cpp:508: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLP_USERDATA’?
508 | HTMLWindow* win = reinterpret_cast<HTMLWindow*> (::GetWindowLong(hwnd, GWL_USERDATA));

HTMLWindow.cpp:535: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLP_USERDATA’?
535 | HTMLWindow* win = reinterpret_cast<HTMLWindow*> (::GetWindowLong(hwnd, GWL_USERDATA));

HTMLWindow.cpp:565: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLP_USERDATA’?
565 | HTMLWindow* win = reinterpret_cast<HTMLWindow* >(::GetWindowLong(hwnd, GWL_USERDATA));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions