Skip to content

Why I am getting C3646 on an IAsyncAction declaration? #1994

Answered by rbaprado
rbaprado asked this question in Q&A
Discussion options

You must be logged in to vote

Got it. It seemed to be a namespace mismatch, since changing the declaration to:

winrt::Windows::Foundation::IAsyncAction loadSettings();

Solved the problem. The interesting bit is that Intellisense does not catch the error (no red line underneath the type), only the compiler does.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rbaprado
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant