I have a question. How fast can Windows 10 change desktop backgrounds thru a c++ script? Is there a cap? I have tried manually switching backgrounds. I do not know how to write a C++ script to do that, though.
Asked
Active
Viewed 60 times
-2
-
what is a `C++ script`? – Mike Vine Nov 19 '20 at 14:39
-
`c++` does not really have scripts. It's not an interpreted language. – drescherjm Nov 19 '20 at 14:41
-
I'm sorry, I'm a noob at coding languages. I meant maybe C++ code? Or maybe a BAT script – IMSOASIAN Nov 19 '20 at 14:49
-
Yes, you can say C++ code or C++ program. C++ and BAT scripts are very very different things. – bolov Nov 19 '20 at 14:53
1 Answers
1
I have a question
I see two questions
How fast can Windows 10 change desktop backgrounds thru a c++ script?
Very fast. Insanely fast. In the order of milliseconds, maybe less, and most of that time would probably be spend in loading the image and only a fraction to actually apply it to the background.
Is there a cap?
No, not that I am aware of.

bolov
- 72,283
- 15
- 145
- 224
-
Thank you very much! Do you know of a C++ script that can switch backgrounds? – IMSOASIAN Nov 19 '20 at 14:47
-
There is `c++` code in this question: [https://stackoverflow.com/questions/3331682/change-wallpaper-programmatically-using-c-and-windows-api](https://stackoverflow.com/questions/3331682/change-wallpaper-programmatically-using-c-and-windows-api) – drescherjm Nov 19 '20 at 14:55
-