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

Some .vcxproj touchups, and a fix for a possible crash #21

Closed dscho closed 6 years ago

dscho commented 6 years ago

Okay, so I lied, the typo fix PR was not my last one ;-)

This PR brings a couple of enhancements to the Visual Studio project to build the Console Example, most notably that the debug messages are suppressed in 64-bit release builds.

Also, I happened to perform a really simple test ("WinToast Console Example.exe" --text Test) and it crashed immediately. Turns out that we always tried to set the image path, even if none was provided.

Based on the tip revision of this Pull Request, I am building a package for use in Git for Windows' SDK right as we're speaking.