Skip to content

Bug: unable to create window with 64bit luajit #39

@fastcoding

Description

@fastcoding

The typedef for WNDPROC is wrong in winapi/types.lua#227.

typedef LONG (__stdcall* WNDPROC)(HWND, UINT, WPARAM, LONG);

the last parameter has to be LPARAM than LONG under 64bit context, otherwise luajit will crash whenever creating app's main window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions