How to get info on memory usage from a given process
This code is very useful if you need to "translate" various environmental variables. I use this a lot to get paths to TEMP or windows folders on different systems.
This function can be used to determine whether your program is running from within VMWare. For more information please refer to the article at: http://www.codeproject.com/system/VmDetect.asp
How to switch the XP startpanel to classic or XP style
First you declare the type of the const and second you define a wrap function around the type
ShellListView does not have a files property (common in dialogs eg TOpendialog), therefore we have to cycle through each item to find out whether the item is selected or not. Use this function to obtain a list of selected files in a ShellListView: