Inorder to prevent the theme from modifying my application i have disabled the manifest file the admin rights is found in the manifest file.what should i do to prevent my application being modified by theme without disabling manifest.Your suggestion would help me a lot.
I've got a relatively large project (400K lines) that was developed in Embedded Visual C++. For all intensive purposes, you can consider EVC++ pretty close to VS6. We're migrating to a new OS that requires the use of at least VS2008. Needless to say, the much older compiler allowed us to commit a multitude of sins that the new compiler tosses it's cookies on.
I'm pretty sure I could pragma myself to death, but that's "cheating". I'd like to lift the code to a more modern state. Does anyone know of any tools or approaches that can be applied to a set of code that would do most of the heavy lifting? For example, the older compiler allowed methods with no return type. Most of these will be void returns, but at something like 8K errors, it's going to be a lot of $hit shoveling.
Appreciate any ideas.
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
See here. Examples on the Net and here at CP are almost limitless.
If you are looking specifically for "installed" programs (rather than just any and all exe files), you could use WMI with the Win32_Product class. It's a tad more code, however, with all of the COM involved.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
no, I'm don't want to use pre-developed apps.
btw, I'm trying to dev the following, but till now no success.
small utility - no GUI.
1) needs to search drive and find where an exe has been installed (customer can install it in multiple places).
2) goes to directory and confirms existence of some files.
3) runs some commands through a spawned process
4) the commands from item 3 will produce a file.
5) you will need to zip up the contents of the file using https://code.google.com/p/miniz/ library
6) Ask the user for a password
7) encrypt the file using http://www.cryptopp.com/ library
File needs to be statically linked and highly portable.