microsoft / AppModelSamples

Sample code for AppModel features
MIT License
200 stars 102 forks source link

Do I need to keep the UWP app running to show the Explorer Context Menu? #22

Open skyhawlk opened 3 years ago

skyhawlk commented 3 years ago

Will the context menu show up only when the UWP app is running in the background for the same user which started it? What if I need to register a context menu for ALL USERS for an app that will be started by the Com DLL?

jerichoi224 commented 2 years ago

Prob a bit late, but from my tests, don't think you need to keep it open. once it gets registered, dllhost.exe seems to call the dll defined in the appxmanifest, and adds in the menu even if the application isn't actually running