mohabouje / WinToast

WinToast is a lightly library written in C++ which brings a complete integration of the modern toast notifications of Windows 8 & Windows 10. Toast notifications allows your app to inform the users about relevant information and timely events that they should see and take action upon inside your app, such as a new instant message, a new friend request, breaking news, or a calendar event.
MIT License
688 stars 127 forks source link

I always get a timeout when running the sample. #53

Closed EricYoungdale closed 1 year ago

EricYoungdale commented 4 years ago

I was able to compile and link the sample console application - I ran it using the basic command line in the README.md. But every time I run the thing, I get a notification that the toast has timed out:

    case TimedOut:
        std::wcout << L"The toast has timed out" << std::endl;
        exit(2);
        break;

There is no delay - I get this immediately, and it does not depend on the settings for the expiration time.

mohabouje commented 1 year ago

For future reference, please double-check the system configuration: https://github.com/mohabouje/WinToast#toast-configuration-on-windows-10