Backgrounds in Windows 10 [duplicate] - c++

This question already has an answer here:
How to change the windows 10 wallpaper with C++?
(1 answer)
Closed 2 years ago.
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.

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.

Related

How to add code highlight to WebStorm? [duplicate]

This question already has an answer here:
Webstorm: ColdFusion Syntax
(1 answer)
Closed 7 years ago.
I have to work on a project that uses ColdFusion, and I would like to know if there is away that I can add code highlight and code suggestion for ColdFusion.
Is there a way that I create my own?
Get CFEclipse. This will provide code highlighting and a certain amount of autocompletion.
You can also trial Adobe's CFBuilder, but in my experience it's about equivalent.

Neural Network Image Classification, The Most Efficient Solution / Suggestion [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have already built a deep neural network image classifier program in Matlab (gives 1 output for each example, such as is it a car or not), using gradient descent and back propagation algorithms. It is a simple feed forward network, with 1 or 2 hidden layers. I'm using the obtained weights in a nvcc C++ for real time object detection.
NN training results have quite a good accuracy (more than %99.9, but not enough), and can process more than 100,000 image files of size 32x32. But only problem with the Matlab code is: it ends up in local minimums in each training, so requires many different trainings but its training speed is quite slow.
Other than my slowly working Matlab NN training code, I have tried:
1) OpenCV 3.0.0, it "probably" has a bug in virtual float cv::ml::StatModel::predict function at the moment. So I weren't able to use it properly.
2) Tried OpenNN with gui, but it even gets stuck during loading and training. I'm still working on to fix that.
3) Checked FANN, but could only find "one" tutorial code written in C++. May take quite a time for me to master it with out examples.
4) I had tried Theano in Python a few months ago, it was quite customizable, and has quite many tutorials. But had never tried training image files with it.
5) I can also transfer my Matlab code to nvcc C++, and try conjugate gradients method to speed up further. But didn't try this yet, it is the last choice for me.
Mastering in each path may take quite a big time, and I have many more different works to do too. Which path should I take, or do you have another suggestion? Thank you
If you have experience with Matlab, the easiest path is to go through the "VGG Convolutional Neural Networks Practical" and use their open source MatConvNet toolbox for Matlab: http://www.vlfeat.org/matconvnet/.

C++ Windows screenshot [duplicate]

This question already has answers here:
Take screenshot of DirectX full-screen application
(7 answers)
Closed 9 years ago.
I am trying to write a tool to captrue screenshots. Anyway, to see how other tools work I have tried some other tools. Like nircmd.exe. I am automatically capturing screenshots once in a while. Problem is it doesn't capture the WoW window when it's active.
WoW runs as fullscreen. But look at the top left corner. That's all it will show. Instead it will show something else. I blocked out the unneccesary parts of the screen. For information: it showed skype that was not minimized. But... WoW was active. Any idea what the problem could be?
I will also be happy if someone points me at a tool that can solve my problem. This seems like a complicated problem to solve with my own code considering all the other tools fail as well.
Capturing fullscreen is not trivial. It's a own mode at device level. The OS does not have APIs for that. You have to "break into" the target process and hook functions of the graphics API the application uses.
Try FRAPS if you are not interested in programming it yourself.

Writing your own version of windows [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Recently, I've been thinking about how there are multiple versions of linux and how they are all built on a similar kernel. And I was wondering if it was possible with Windows. In this case I am thinking of having the first program loaded after the kernel has booted up and started all the devices, would be the what pops up instead of the windows login screen.
The reason for this is because I was wondering if it was possible to have the system render all the objects on the screen in a distint styling, but still process it as if it were running on a normal windows machine.
Any Thoughts?
Initially I thought this was a naive question, but Mooing Duck's link in the comments proved insightful. There are projects that do just this: EmergeDesktop, SharpE, even the KDE.
They're open and on sourceforge, go get them and dink around to your hearts content.
I'm not sure that the login screen is part of the shell however. So your alternate shell would only show up after you log in.
However, in the long run, alternate shells have no hope of competition. Microsoft controls the environment and they don't play too nice with competition.

Is there any easy way to play a mp3 file [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to play mp3 file in c++?
Hi,
I am doing a project which demands the functions of mp3 player. There is no need of giant, full pledged solution, all I want is just "play","pause","stop". I found some libs which are libmad,lame.But, I can't find any example for them. If anybody shed a light on this, I will be thankful to them.
Or Is there any way in Qt
There is a Phonon component in Qt 4.
Not sure about Window, but in Ubuntu it can play pretty much every format whose codec is available.
You might look into Qt Docs at http://doc.qt.nokia.com/latest/phonon-overview.html