microsoft / microsoft/WindowsAppSDK-Samples

Proposal: More Sample Code for WinUI3 desktop app, not UWP.

Open
#277 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
1k
Forks
335
Avg merge
5d 1h
Merged PRs (30d)
8

Description

Which sample are you requesting a feature to be added to?
Could we have more examples for using WinUI3 with C++/WinRT for Desktop APPs?
Currently most of them are wrote for UWP, not for desktop apps. It's very difficult for beginners to start in WinUI3 with C++/WinRT for desktop APPs.

For the sample "LowLatencyInput", I have tried 1 month to convert the sample code to Desktop APP version but always failure in debug. a lot of errors such as "read access violation". no idea what wrong with the conversion.

Describe the feature
Provide more examples for using DirectX with SwapChainPanel in C++/WinRT for Desktop APPs.
Provide a version of the sample code "LowLatencyInput" in C++/WinRT for Desktop APPs, not for UWP APPs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing LowLatencyInput sample and the issue's stated UWP-to-desktop conversion target. Compare the C++/WinRT desktop requirements for DirectX with SwapChainPanel and identify the sample scope. Done means a working desktop-app version and additional examples that build and run without the reported debug failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.