It appears that you are running Windows XP SP1 (or even no SP).
SHRegGetValueW is a function included in SHLWAPI.DLL version 6.00 and later. Which in simple words means that you need at least Windows XP Service Pack 2 installed.
It is not mentioned by you whether you are running 32 bit Windows XP or 64bit Windows.
If you are running 64 bit, its displayed on the boot screen. If you dont see "x64 Edition" when you boot into Windows, you are running 32 bit Windows. Also when you open any folder, then in the menu select Help > About
, if you see "x64 Edition" you have XP 64 bit edition, else 32 bit.
Latest service pack for 32 bit Windows XP is SP3. Download SP3 for Windows XP 32 bit:http://www.microsoft.com/downloadS/details...;displaylang=en
Latest service pack for 64 bit Windows XP is SP2. Download SP2 for Windows XP 64 bit:http://www.microsoft.com/downloads/details...;displaylang=en