Update quick-protection-app-initialization-cpp.md #1529
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi team Azure! Just like #1426 and #1412, I've made a number of changes to the MIP SDK's C++ Quickstarts.
Note that these changes are necessary to compile and run your quickstart. As it currently currently written, your code does not compile because of typos, mismatched variable names, and other errors. These changes fix it all:
mAppInfo
toappInfo
mipContext.Shutdown()
tomipContext->ShutDown()
(note the->
and capitalD
)I've also made a number of sorely-needed improvements to the readability of this document:
ReleaseAllResources()
, which appears to be a C# method that was accidentally copy-pasted herestd::foo
andmip::foo
namespace qualification whenusing foo;
was already specified. For example, the current documentation specifiesusing std::make_shared;
, then proceeds to call it with a qualifyingstd::
anyways... this appears to be because of copy-pastingusing
directives; this has the added benefit of putting the more importantusing mip::
directives above the less importantstd
onesauto
type specifiers instead of the current, seemingly random mixture ofauto
and non-auto
'\n'
newline instead of the confusing"'\n"
seen hereFinally, I've compiled and tested these changes on Windows and Linux, and feel free to ask questions and/or request changes. Thanks again for the work you've put into MPIP/AIP/RMS!