Hmmm,
Have you tried running DainApp as admin?
And are you using the Default algorithm or are you trying to use the Experimental algorithm? I managed to reproduce a "no CUDA capable device error" when using the Experimental algorithm so I would avoid trying to use that.
Its odd that 0.22 has stopped working though. Are you using a Beta, Game Ready or Studio Driver? Looking at Nvidia's descriptions of the drivers, I would use the Studio Driver as it seems to be targeted at maintaining compatibility and stability rather than outright cutting edge (& potentially buggy) performance.
0.41 should be coming out for everybody outside of Patreon in the next month or so (I think) but GRisk has mentioned to others that if they are having GPU driver issues to try and run 0.38 as it may be a bug related to the GPU detection & selection functionality added in 0.40. If the steps above have no effect I'd try 0.38
I hope this helps!
Theo