Skip to content

System.Runtime.InteropServices.COMException: 'Invalid window handle. (0x80070578) #1416

Open
@yegorisB

Description

@yegorisB

Which version of the app?

WinUI 3 Gallery

Description

Source: Windows.Storage.StorageFile file = await open.PickSingleFileAsync();

VS2022: System.Runtime.InteropServices.COMException: 'Invalid window handle. (0x80070578)
Consider WindowNative, InitializeWithWindow
See https://aka.ms/cswinrt/interop#windows-sdk'

Screenshots

image

Windows version

Windows 11 22H2 (22621)

Additional context

Edition Windows 11 Home
Version 23H2
Installed on ‎9/‎11/‎2023
OS build 22631.2861
Experience Windows Feature Experience Pack 1000.22681.1000.0

Processor 13th Gen Intel(R) Core(TM) i9-13900H 2.60 GHz
Installed RAM 16.0 GB (15.6 GB usable)

System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions