Skip to content

Conversation

@rohanp-msft
Copy link
Contributor

@rohanp-msft rohanp-msft commented Aug 19, 2021

Execution terminates after box is dismissed.

Closes #48

How verified
Changed
int hr = MddBootstrap.Initialize(8, "preview");
to
int hr = MddBootstrap.Initialize(9, "preview");
That version doesn't exist.

Dialog I saw:
message_box_2

-2147023727 corresponds to 1169 (0x491) which is "There was no match for the specified key in the index." (see https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--1000-1299-)

…s init fails. Execution terminates after box is dismissed.
@rohanp-msft rohanp-msft added the bug Something isn't working label Aug 19, 2021
@rohanp-msft rohanp-msft self-assigned this Aug 19, 2021
@rohanp-msft rohanp-msft requested a review from jefgen August 19, 2021 23:02
@rohanp-msft rohanp-msft merged commit 142f5ba into main Aug 21, 2021
@rohanp-msft rohanp-msft deleted the user/rohanp/add_error_handling_in_winforms_sample branch August 21, 2021 07:03
beervoley pushed a commit to paulcam206/WindowsAppSDK-Samples that referenced this pull request Dec 8, 2022
…s init fails. (microsoft#58)

* Display a message box with error code included if dynamic dependencies init fails. Execution terminates after box is dismissed.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cs-winforms-unpackaged doesn't check MddBootstrap.Initialize() return code

6 participants