Skip to content

solved override error in “MyApp.h” and “MyApp.cpp” file in Windows11 #11

@xrui94

Description

@xrui94

You can clone my project based on the [ultralight-quick-start] for detail info from https://gitee.com/xingrui94/learn_ultralight

First step: Remove the parameter "ultralight::Window* window" in function OnClose() and OnResize() in MyApp.h and MyApp.cpp.
image

Second step: Add this statement "app_->set_window(*window_.get());" in MyApp.cpp file,and change the first parameter in function Overlay::Create(). The flowing picture is my code, it is working.
image

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