I have created a basic COM add-in for MS office apps like Word, PPT, Excel in Visual C++ using _IDTExtensibility2 interface.
Now i want my add-in to find if Word, PPT, Excel has any unsaved changes.
FYI: I have not chosen VSTO or Office JS add-in due to dependency/deployment reasons.
Kindly provide solution in C++.