Bug 409717 - [Question/missing doc] CLSID
Summary: [Question/missing doc] CLSID
Status: REPORTED
Alias: None
Product: Snoretoast
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-11 13:14 UTC by Thomas
Modified: 2019-07-12 08:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2019-07-11 13:14:00 UTC
In the README, I find that you have to set your own AppID for an application to use Snoretoast. But looking at the code, "snoretoast -install" does more than just setting an AppID, it also sets a CLSID. This is never mentioned in the docs.

There are some questions that arises to me:
* Is the CLSID needed (since it isn't mentioned in the README and it is checked for beeing empty in which case "snoretoast -install" continues without; but seems like it is needed for the buttons to work https://github.com/mohabouje/WinToast/issues/35)
* Snoretoast sets a constant CLSID that changes on every version. But what if Snoretoast is shipped by two Apps, therefore remains two times on the disk, both register the same CLSID with different Locations on the Filesystem. Then the wrong Snoretoast and therefore the wrong Application will be contacted for callbacks, won't it? Is Snoretoast intended to be shipped as an exe as part of another Application?

Thanks in advance!
Thomas