Results comments of hereafter

you may try "Sticky Windows" modern fluent app for Windows 10 It is on the windows store, https://github.com/hereafter/stickywindows/wiki it not free though.

i am not able to repro the issue. I suspect it is due to the context so could you please change the line to auto shell = create_instance(CLSID_ShellWindows, CLSCTX_ALL); @nc-x

EDIT: looks like we need to clear disp and tmp to nullptr somehow, i am positive that CLSCTX_ALL fixed the issue the warning is just a side-effect for warn of...

@nc-x could you please take the code here https://github.com/hereafter/terminal/blob/dev/hereafter/context-menu-patch/src/cascadia/ShellExtension/OpenTerminalHere.cpp ![image](https://user-images.githubusercontent.com/1483954/106387090-0cfd1180-6413-11eb-8ca4-6d1f9f857dd7.png) to see if it works for you now

THANK YOU VERY MUCH that would be good enough for now I am making a pr to the mess I left