microsoft / microsoft/WindowsAppSDK-Samples

Unhandled exception - winrt::hresult_class_not_registered at memory location

Open
#368 1 comment 1 reaction 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

I'm Encountering the following error while running the packaged C++ console application for push notifications.
I have created a simple C++/WinRT Windows console application and facing the below error while running the code.

Unhandled exception at 0x00007FF90AC5FABC in ConsoleApplication.exe: Microsoft C++ exception: winrt::hresult_class_not_registered at memory location 0x000000BB6474EB68.

image

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 with the packaged C++/WinRT Windows console application described in the report and reproduce the hresult_class_not_registered exception. The issue does not name source files, tests, or the failing API, so the missing setup details and a confirmed cause would need to be established before a concrete fix can be defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.