I want to integrate Toast notification in my existing CPP/COM based desktop application. To add this, I have followed the step by step guide given at https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/send-local-toast-desktop-cpp-wrl(added GUID and etc in product.wxs and installed it as well). But notification is not getting posted when my code condition calls notifier->Show(). There is some sample project posted by Microsoft on https://github.com/WindowsNotifications/desktop-toasts. But CPP/COM project from this git link is also not able to post the Toast notifications. If I use c# sample from this git, Toast notifications are posted. Is CPP/COM based application needs some changes apart from steps mentioned on MS link(or present in Git sample) to work? Is there any better solution to integrate the toast notifications in the COM based desktop application?
Thanks, Omkar