Skip to content

Can't generate bindings from Windows.Win32 #233

@Alovchin91

Description

@Alovchin91

I'm trying to use swift-winrt to generate bindings for Windows.Win32.winmd from the Win32Metadata project, specifically for the CreateDispatcherQueueController function. However, if I invoke it in the following way:

swiftwinrt.exe -include Windows.Win32.System.WinRT.Apis -reference Windows.Win32.winmd

- then I get an error message that there's no class Apis found. And in fact, no matter which namespace I specify (e.g. Windows.Win32), it always tells me that no such class was found.

I wonder, is it me doing something wrong, or does swift-winrt make some assumptions about the Windows namespace? 🤔

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