Hi,

I am working to create native module for windows 8 and above to display 
toast notification by following the example provided by Microsoft 
(https://code.msdn.microsoft.com/windowsdesktop/Sending-toast-notifications-71e230a2/view/Discussions),
 
but It filed to display notification. After debug it, we observed that 
notification api exited after below mentioned line:

ComPtr<IShellLink> shellLink;
hr = CoCreateInstance(CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, 
IID_PPV_ARGS(&shellLink));

ComPtr<IToastNotificationManagerStatics> toastStatics;
HRESULT hr = 
GetActivationFactory(StringReferenceWrapper(RuntimeClass_Windows_UI_Notifications_ToastNotificationManager).Get(),
 
&toastStatics);

Please suggest if any work around to display toast notification with native 
addons.

Regards,
Rishu

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/58d8b05f-a53c-463a-bd6d-38e6cf8f7182%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to