-
Probably a dumb question (WinRT noob), but, here is goes... The code from "App.xaml.h" is:
When I try to compile, Visual Studio gives me a C3646 (unknown override specifier) at the IAsyncAction declaration? The loadSettings implementation is:
|
Beta Was this translation helpful? Give feedback.
Answered by
rbaprado
Jan 20, 2022
Replies: 1 comment
-
Got it. It seemed to be a namespace mismatch, since changing the declaration to:
Solved the problem. The interesting bit is that Intellisense does not catch the error (no red line underneath the type), only the compiler does. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rbaprado
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.